1
0
mirror of https://github.com/SuperBFG7/ympd synced 2024-11-18 19:34:48 +00:00
Commit Graph

982 Commits

Author SHA1 Message Date
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
Daniel Schregenberger
03d02e815c Merge pull request #4 from BenjaminHae/sortable
Make playlist sortable
2015-10-16 14:24:54 +02:00
SuperBFG7
15c29c4b6b added wss+digest workaround for mobile safari 2015-10-15 16:09:47 +02:00
SuperBFG7
686eb4f5d2 skip authorization for websockets, since mobile safari does not support it 2015-10-15 15:46:28 +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
bde33d5aa7 added option for htdigest authentication 2015-10-06 20:17:28 +02:00
Daniel Schregenberger
2dc771b9c4 Merge pull request #3 from SuperBFG7/digest
added option for htdigest authentication
2015-10-06 19:59:36 +02:00
SuperBFG7
4ce5f736ad added option for htdigest authentication 2015-10-06 19:57:27 +02:00
Daniel Schregenberger
18ca9af342 Merge pull request #2 from SuperBFG7/ssl
added documentation for SSL usage
2015-10-06 19:40:54 +02:00
Daniel Schregenberger
64cdd920e7 added documentation for SSL usage 2015-10-06 18:53:14 +02:00
Daniel Schregenberger
e051ebff9e Merge pull request #1 from SuperBFG7/ssl
compile mongoose with SSL support
2015-09-27 18:14:19 +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
SuperBFG7
00e58b0fe0 compile mongoose with SSL support 2015-09-27 14:33:37 +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
4295d15874 Merge branch 'Nofre-master' 2015-09-20 16:01:06 +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
Andy
c1b52d819d Merge pull request #84 from hsoft/add-all-songs
Add "Add all" button in the Browse section
2015-09-20 15:52:52 +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
Andy
f2164b382a Merge pull request #81 from hsoft/fix-encoded-uri-addtrack
Fix broken add track action
2015-07-16 11:38:53 +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
Andy
7b05dc1010 Merge pull request #78 from hsoft/master
Fix browsing for non-ascii entity URI under Safari
2015-06-24 20:17:05 +02: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
Kurt Van Dijck
3b72651d7e outputs: fix typo 2015-05-25 18:11:22 +02:00
Andy
51c371bbc3 Merge pull request #73 from jpleau/fix_init
fix webport using the wrong variable in init scripts
2015-05-03 02:20:04 +02:00
Kurt Van Dijck
d125f0a1d3 outputs: show MPD error message on stderr 2015-05-02 14:36:02 +02:00
Jason Pleau
c7f19755bd fix webport using the wrong variable in init scripts 2015-05-01 20:57:58 -04:00
Andrew Karpow
770c32a370 replaced deprecated drone.yml with travis-ci 2015-05-02 01:49:48 +02:00
Andy
8c916e2b74 Merge pull request #72 from jpleau/various_patches
various patches: manpage, remove external js, init scripts
2015-05-02 01:11:05 +02:00
Kurt Van Dijck
c3ddc8318b outputs: clear possible error 2015-05-02 00:07:37 +02:00
Kurt Van Dijck
0c3ded1cf3 outputs: reduce duplicate code 2015-05-02 00:04:04 +02:00
Kurt Van Dijck
66ed2518a2 mpd_client: fix allocation of outputs 2015-05-01 23:33:07 +02:00
Jason Pleau
5abfdfda7b update init script and systemd service file
init script: depend on $remote_fs instead of $local_fs. Reason: /usr can
be mounted a remote filesystem. Also depend on mpd (instead of $mpd,
which doesn't seem to exist.. at least on my system)

Also provide a default config (which should be installed as
/etc/default/ympd)

This commit makes the systemd unit file as well as the init script load
values from this configuration file so the user can change ympd settings
easily when running it as a service.
2015-05-01 17:14:21 -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