1
0
mirror of https://github.com/SuperBFG7/ympd synced 2024-12-23 09:30:26 +00:00
Commit Graph

47 Commits

Author SHA1 Message Date
Andy
84f3a78a42 Merge pull request #89 from dewyatt/master
Add arrow left/right and spacebar controls
2015-09-20 15:53:23 +02:00
Daniel Wyatt
86d2d2ecb4 Add arrow left/right and spacebar controls 2015-09-13 04:38:18 -04:00
Virgil Dupras
4e2f300643 Add "Add all" button in the Browse section
It adds all items in the directory. It's equivalent to clicking on "+"
on that same directory we decided to browse.
2015-08-17 17:01:47 -04:00
Virgil Dupras
698f573a65 Fix broken add track action
Fix the bug I've introduced in my PR #78, breaking the add
track/playlist action. We have to decode URIs before sending them back
to our socket!

fixes #80
2015-07-13 14:31:56 -04:00
Virgil Dupras
fe44fca184 Fix browsing for non-ascii entity URI under Safari
Previously, browsing entities with non-ascii characters in their URI
under Safari wouldn't work. Directories would be empty, songs wouldn't
be added. I haven't tried it, but this behavior seems to be common to
Webkit-based browsers, so Chrome would be affected too.

This turned out to be because Safari normalizes all unicode strings to
NFC, breaking the link with MPD-spewed URIs, which are in NFD.

An obvious fix would have been to normalize all URIs to NFD, but
unfortunately, Safari doesn't have `str.normalize()`. Adding
normalization capabilities to our JS side would have involved
introductiing libraries such as `unorm`, which is rather big.

We could have done it on the C side, but it involves introducing `icu`,
which is far from trivial too.

After much fussing around, I stumbled on a simple solution: URI-encode
our URI when creating our browser table row. This magically prevents
Safari from trying to mess with our unicode form before we get the
chance to send it back to our server.
2015-06-20 22:39:42 -04:00
warhog
1c4e89def8 added ability to add streams 2015-03-06 12:40:14 +01:00
Andy
ca40c44dd5 Merge pull request #52 from ajs124/master
Add crossfade support. Not sure about the icon/glyph though
2015-03-03 21:50:49 +01:00
Andy
1268cab3b3 Merge pull request #40 from iwanders/master
Change websocket URL to allow easy incorporation of different backends.
2015-03-03 21:49:46 +01:00
ajs124
3eb12e6ecd Add crossfade support. Not sure about the icon/glyph though 2015-02-17 15:45:26 +01:00
Ivor Wanders
a5a4ac9461 Changes URL used for the websocket.
This change allows easier implementation of different backends because the websocket URL isn't identical to the webpage URL. This does not affect the functionality of the default C backend.
2014-11-03 20:01:05 +01:00
Jason Pleau
07b6ac7473 add jquery source file
This is to comply with the Debian Free Software Guidelines:
https://www.debian.org/social_contract#guidelines

ympd can still use the minified file, however we need the source files
to be included in the source package.
2014-10-29 18:25:07 -04:00
ajs124
9f001aa264 change notification cookie from session to "permanent" 2014-05-24 03:12:51 +02:00
ajs124
0730673851 remove webkit prefix from Notifications, now working with firefox!
+ probably fix bug with undefined artist or album
2014-05-24 02:57:30 +02:00
Andrew Karpow
14e807850c Merge branch 'mongoose' 2014-03-18 01:30:01 +01:00
Andrew Karpow
6bf4379eb8 fixed password remove 2014-03-08 20:33:22 +01:00
Andrew Karpow
35ab38d0e2 fixed osx scanf behaviour, notifications 2014-03-08 12:31:22 +01:00
Andrew Karpow
b9a4d83130 better json generator, various fixups 2014-03-08 12:30:49 +01:00
Andrew Karpow
38b4544542 replaces libwebsockets with mongoose, changed licese to gpl
add search support
add playlist support
various fixups
C Cleanup
2014-03-08 12:30:49 +01:00
Andrew Karpow
79e38e7edd initial mongoose checkin 2014-03-08 12:30:48 +01:00
Andrew Karpow
5920d9f1bf fix settings modal hiding on keypress 2014-03-08 12:30:48 +01:00
Andrew Karpow
6b6622988d updated bootstrap to 3.1 2014-03-08 12:30:48 +01:00
Andrew Karpow
8c49b2a877 add settings modal dialog 2014-03-08 12:30:48 +01:00
Andrew Karpow
f0c1317d57 fix settings modal hiding on keypress 2014-02-04 18:58:05 +01:00
Andrew Karpow
bde1d02055 updated bootstrap to 3.1 2014-02-04 18:24:01 +01:00
Andrew Karpow
43035bb6f7 add settings modal dialog 2014-02-04 17:58:10 +01:00
Andrew Karpow
e0d339c26d removed debug stuff, unused variable 2014-01-19 02:11:37 +01:00
Andrew Karpow
547f7494dd add BSD-2 License, release is immenent 2014-01-17 19:44:07 +01:00
Andrew Karpow
e15d0600ee changed timeout for notification to 3 secs 2014-01-17 19:04:33 +01:00
Andrew Karpow
5d9e70750d add manpage, jquery cookie plugin 2014-01-17 18:34:59 +01:00
Andrew Karpow
4a4e8e2480 Merged nicos notifications, add cookie support 2014-01-17 18:34:22 +01:00
Andrew Karpow
da52814926 seek not allowed without song in queue 2014-01-17 16:41:54 +01:00
Andrew Karpow
fc1d7c1242 fixup table layout, notifications 2014-01-17 16:26:26 +01:00
Andrew Karpow
5f613a878e reworked notify.js 2014-01-16 18:53:59 +01:00
Andrew Karpow
cd865b2cef fix crash when seeking without song, new slider 2014-01-16 18:32:20 +01:00
Andrew Karpow
31f1df974c fix for firefox, large datasets via http instead websockets 2014-01-08 02:23:02 +01:00
Andrew Karpow
38f5009140 fixed firefox websocket bug, added assets 2013-12-03 21:48:49 +01:00
Andrew Karpow
77321257e2 design fixes 2013-12-03 12:48:52 +01:00
Andrew Karpow
6d16ec2823 various layout fixups 2013-11-13 15:30:54 +01:00
Andrew Karpow
501cbda19d add about 2013-11-09 03:02:49 +01:00
Andrew Karpow
9ee50d00b7 add play-on-click func, fixup of current playing song 2013-11-08 12:58:18 +01:00
Andrew Karpow
1675fe5220 Alpha done, needs testing though :) 2013-11-07 17:40:22 +01:00
Andrew Karpow
9a82b44ea9 added sammy.js app routing 2013-11-07 13:47:31 +01:00
Andrew Karpow
931e975d4e add browse functionality 2013-11-07 10:09:40 +01:00
Andrew Karpow
bc39214dc4 added playlist updates 2013-11-06 00:15:24 +01:00
Andrew Karpow
be6d0ddfb3 fix buttons, added auto-reconnect, code cleanup 2013-11-05 14:59:12 +01:00
Andrew Karpow
d194c8439a various fixups 2013-11-05 00:17:28 +01:00
Andrew Karpow
c692feb111 Initial commit 2013-11-04 18:18:38 +01:00