1
0
mirror of https://github.com/SuperBFG7/ympd synced 2024-11-05 14:26:16 +00:00
Commit Graph

258 Commits

Author SHA1 Message Date
SuperBFG7
66ff05e8b5 Merge branch 'fix-double-slashes' of git://github.com/Kernald/ympd into fix-double-slashes 2017-03-18 10:38:46 +01:00
Les De Ridder
d9ec70a9da
Make the Dirble API token configurable and use HTTPS
Fixes #140
2016-09-11 18:23:42 +02:00
Marc Plano-Lesay
15edcc645c Fix double slashes in websocket URL 2016-07-07 15:22:15 +02:00
Govert Buijs
306840fa1d Added crude filtering for browsing db 2016-06-08 23:20:27 +02:00
SuperBFG7
f586db33d1 fix browsing of playlists 2016-02-16 12:03:50 +01:00
SuperBFG7
ce689a26de sync with original repo 2016-02-14 12:30:14 +01:00
Daniel Schregenberger
b367115850 Merge pull request #8 from BenjaminHae/master
moved Update-DB Button to settings
2016-02-14 12:16:07 +01:00
Daniel Schregenberger
08bc954917 Merge pull request #7 from BenjaminHae/playbutton
added functionality of play/pause button to queue header
2016-02-14 12:14:37 +01:00
Andrew Karpow
0059a6dd41 removed minified files, minifing should be part of build process 2016-02-13 21:58:43 +01:00
Andy
9274480b2e Merge pull request #113 from BenjaminHae/playbutton
added functionality of play/pause symbol track-icon to queue header
2016-02-13 21:51:34 +01:00
Andy
126f247a08 Merge pull request #102 from SuperBFG7/browse
remember last folder in browser
2016-02-13 21:49:18 +01:00
Andy
597018542e Merge pull request #104 from SuperBFG7/touch
do not use mouseenter/leave on touch devices
2016-02-13 21:48:54 +01:00
SuperBFG7
ac47c67004 Merge branch 'dirble_fix' of git://github.com/Nofre/ympd into Nofre-dirble_fix 2016-02-08 10:32:08 +01:00
LordMyschkin
f471c961e9 Update mpd.min.css
added overflow:hidden to button-class to prevent nasty overlaying of the outputs as adressed in issue #112
2016-02-07 22:28:29 +01:00
LordMyschkin
aa49b1d352 Update mpd.css 2016-02-07 22:23:48 +01:00
Nofre
0e47d5c4bc Dirble's token fix 2016-02-02 18:47:53 +01:00
Benjamin Häublein
b047a900bc added functionality of play/pause button to queue header 2016-01-16 19:33:29 +01:00
SuperBFG7
2526a015f0 improve error handling for local player 2015-12-08 16:42:03 +01:00
SuperBFG7
d72c10cd8c simplify toolbar 2015-11-23 11:10:11 +01:00
SuperBFG7
b59c06b922 merge branch touch 2015-10-22 17:49:42 +02:00
SuperBFG7
2e74427778 do not use mouseenter/leave on touch devices 2015-10-22 17:48:42 +02:00
SuperBFG7
a8bcba7fe7 merge branch browse 2015-10-22 11:45:55 +02:00
SuperBFG7
f06885fab7 remember last folder in browser 2015-10-22 11:44:50 +02:00
SuperBFG7
8696216d6e Merge branch 'local_play' 2015-10-22 11:21:09 +02:00
SuperBFG7
4643f1cdcb use cookies to store streamurl and added minimal player 2015-10-21 19:24:38 +02:00
SuperBFG7
ff92b2718f add artist and title columns (by laclaro) 2015-10-16 18:51:25 +02:00
SuperBFG7
934fb63e1e merge local_play 2015-10-16 15:31:29 +02:00
SuperBFG7
264ce34ae9 fix toolbar layout 2015-10-16 15:28:04 +02:00
SuperBFG7
d87c762bb8 streamline design with original design 2015-10-09 12:12:31 +02:00
SuperBFG7
e0721fb6c9 optimized local playing of mpd stream 2015-10-09 12:06:41 +02:00
SuperBFG7
cb82047228 removed filename to not depend on the format mpd is streaming
add load() before play() for mobile safari
2015-09-27 17:52:13 +02:00
SuperBFG7
0b2c69c281 Merge branch 'expire1' of github.com:parabelboi/ympd into local_play 2015-09-27 15:34:58 +02:00
Benjamin Häublein
5234e97d5e check if element is sortable before removing sortable property 2015-09-26 14:32:14 +02:00
Benjamin Häublein
9d11aaf829 sortable queue
using jquery-ui-sortable standalone https://github.com/ryantbrown/jquery-ui-sortable
2015-09-26 13:51:56 +02:00
Benjamin Häublein
ab9c9cf9e2 moved Update-DB Button to settings 2015-09-25 10:39:51 +02:00
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