1
0
mirror of https://github.com/SuperBFG7/ympd synced 2024-12-25 18:40:26 +00:00
Commit Graph

123 Commits

Author SHA1 Message Date
Andrew Karpow
9f06699d3e Merge branch 'master' of https://github.com/Nofre/ympd into Nofre-master 2015-09-20 16:00:45 +02:00
Andy
30b0b812f6 Merge pull request #69 from kurt-vd/master
add support for output enable/disable
2015-09-20 15:56:10 +02:00
Andy
b211543890 Merge pull request #82 from iwanders/improvement_stream_ui
Improve the add stream dialog user experience.
2015-09-20 15:55:19 +02:00
Andy
6dcb2ad758 Merge pull request #87 from BenjaminHae/master
Added the ability to save queue as playlist
2015-09-20 15:54:20 +02:00
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
Benjamin Häublein
4f138c0986 Save Queue 2015-09-02 19:47:58 +02:00
Nofre
30bb8161b5 code cleared 2015-09-02 19:38:42 +02:00
Nofre
94869bba92 Added a tab to search radio stations from Dirble. Also fixes #85 2015-08-27 16:15:23 +02: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
Ivor Wanders
d3148056fc Improves the add stream dialog user experience.
When the dialog is opened, the text area is focused. When enter is
pressed (and the form is submit) the window now behaves as expected and
adds the stream to the playlist and closes. The text area is now also
cleared once the form is submit, previously the old stream was still
visible when the dialog was opened a second time.
2015-07-16 11:50:54 +02: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
Jason Pleau
3ef53f3cc2 webpage: remove respond.js
Calling outside resources is a breach of privacy, and prevents the page
from loading correctly if offline.
2015-05-01 17:06:57 -04:00
Kurt Van Dijck
d344ec05a9 add support for output enable/disable 2015-04-28 11:08:21 +02:00
warhog
4d4ff2bdc2 changed order of menu entries 2015-03-06 12:41:26 +01: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
Andrew Karpow
e6e93a08c7 release build now installs assets to prefix
if build with dynamic assets
2014-11-11 21:13:11 +01:00
LaClaro
8b29d44496 Patched files to include more columns in browsing and queue mode 2014-11-11 18:52:05 +01:00
LaClaro
f3aef08a7a Patched files to include more columns in browsing and queue mode 2014-11-11 18:50:21 +01:00
LaClaro
838237d854 Patched files to include more columns in browsing and queue mode 2014-11-11 18:41:39 +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
Andrew Karpow
2b5a4c6fa0 added mkdata.pl generator for cross-compiling, fixes #31 2014-10-19 22:58:03 +02:00
Andrew Karpow
87fdd34f87 make mkdata more portable, fixes #35 2014-10-19 16:45:49 +02:00
Christian Krafft
379a5ffce3 save some characters 2014-06-30 21:25:26 +02:00
Christian Krafft
718ac3024e make local playback controls better distinguishable from mpd controls by
reordering and grouping them. also clean up markup by removing
autoplay="false" which is not correct html5 

Signed-off-by: Christian Krafft <parabelboi@gmail.com>
2014-06-30 17:34:38 +02:00
Christian Krafft
645161bc8a add http-stream support, URL is hardcoded for now 2014-05-24 18:23:45 +02: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
Cody Mize
11e3dbefb0 fix prev and next buttons; was swapped 2014-04-23 03:13:07 -04:00
Lee Watson
e516ddb882 Ermahgerd! Werbserver!
Yeah, typo.
2014-04-15 12:41:48 +01: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
b75dadf7a9 removed perl generator, added c generator 2014-03-08 20:32:54 +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
f4a1efdd88 responsive buttons 2014-01-19 02:08:56 +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
32edeaf1d4 typo 2014-01-16 18:38:10 +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
e7b73cc979 fixed url 2013-12-03 12:47:51 +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