Commit Graph

170 Commits

Author SHA1 Message Date
Zachary Boyd 02ab7df3c6 Adds a Dockerfile for building a lightweight Docker container based on alpine 2017-12-23 12:11:47 -08:00
Andy ec008a4995 Merge pull request #116 from SuperBFG7/comma
fix handling of commas in library item names
2016-02-13 22:01:52 +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
Andy 2facf32896 Merge pull request #92 from BenjaminHae/master
moved Update-DB Button to settings
2016-02-13 21:46:57 +01:00
Andy 868f0f622a Merge pull request #97 from SuperBFG7/ssl
Compile mongoose with SSL support
2016-02-13 21:24:44 +01:00
Andy b041307637 Merge pull request #120 from notandy/fix-travis-ci
probably fix travis ci
2016-02-13 21:21:53 +01:00
Andrew Karpow 336d1e9097 probably fix travis ci 2016-02-13 18:09:27 +01:00
SuperBFG7 97bdc9aa97 fix handling of commas in library item names 2016-01-25 13:29:28 +01:00
Benjamin Häublein b047a900bc added functionality of play/pause button to queue header 2016-01-16 19:33:29 +01:00
SuperBFG7 2e74427778 do not use mouseenter/leave on touch devices 2015-10-22 17:48:42 +02:00
SuperBFG7 f06885fab7 remember last folder in browser 2015-10-22 11:44:50 +02:00
Daniel Schregenberger 64cdd920e7 added documentation for SSL usage 2015-10-06 18:53:14 +02:00
SuperBFG7 00e58b0fe0 compile mongoose with SSL support 2015-09-27 14:33:37 +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
Jason Pleau 1035264d66 manpage: set section to 1 and update version 2015-05-01 17:06:09 -04:00
Andrew Karpow ade4ee3808 apply mg_set listening_port only once, fixes #71 2015-05-01 21:05:15 +02:00
Kurt Van Dijck d344ec05a9 add support for output enable/disable 2015-04-28 11:08:21 +02:00
Andrew Karpow caddebcec0 fixed memleak in mpd_set_password 2015-04-25 00:39:16 +02:00
Andrew Karpow 4ba3e0b70f removed %m formatstring, works now with openbsd, fixes #68 2015-04-25 00:35:01 +02:00