1
0
mirror of https://github.com/SuperBFG7/ympd synced 2024-11-22 21:07:18 +00:00
Commit Graph

185 Commits

Author SHA1 Message Date
Andy
393d6063da
Merge pull request #149 from SuperBFG7/delete
add ability to delete ranges of the playlist
2018-01-22 04:34:54 +01:00
Andy
a99b0a5ddc
Merge pull request #134 from Kernald/fix-double-slashes
Fix double slashes in websocket URL
2018-01-22 04:33:54 +01:00
Andy
e436fc93b5
Merge pull request #130 from govertbuijs/master
Added crude filtering for browsing db
2018-01-22 04:32:57 +01:00
Andy
b21fccc240
Merge pull request #150 from azrdev/no-overwrite-cflags
Don't overwrite CFLAGS
2018-01-22 04:26:09 +01:00
Andy
f7aade410d
Merge pull request #148 from unknownloner/master
Allow MPD Password to be configured in command line options
2018-01-22 04:23:51 +01:00
Andy
e0050641df
Merge pull request #145 from felixjogris/master
added FreeBSD RC script
2018-01-22 04:22:36 +01:00
azrdev
c1f1adbc28 Don't overwrite CFLAGS
Preserve user/system-configured C_FLAGS.

This broke the rpm package build on fedora: They enable a hardened config (i.e. ASLR) by default, which adds -pie and -fPIC to linker and compiler flags. Overwriting C_FLAGS removed the compiler spec, but not the linker one, leading to an error like:

/bin/cc  -std=gnu99 -Wall -ggdb -pedantic  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld CMakeFiles/mkdata.dir/tools/mkdata.c.o  -o mkdata -rdynamic 
bin/ld: CMakeFiles/mkdata.dir/tools/mkdata.c.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
CMakeFiles/mkdata.dir/tools/mkdata.c.o: error adding symbols: Bad value

With this fix, the error is gone:

/bin/cc  -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -std=gnu99 -Wall -g -ggdb -pedantic  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld CMakeFiles/mkdata.dir/tools/mkdata.c.o  -o mkdata -rdynamic
2017-05-14 07:37:46 +02:00
SuperBFG7
eb803d1da5 add ability to delete ranges of the playlist 2017-04-08 11:25:40 +02:00
Galen Alderson
fa4cb48830 Fix segfault when using short password option (-m) 2017-03-29 12:17:01 -04:00
unknownln
e5a88b1ffe quote password 2017-02-18 12:05:24 -05:00
unknownln
ec74ef463b config for system services 2017-02-18 12:00:28 -05:00
unknownln
a6ba0d640c Update documentation for new option 2017-02-18 11:51:03 -05:00
unknownln
f79dea44a2 Add option to set MPD password 2017-02-18 11:42:20 -05:00
Felix J. Ogris
40906e2bee added FreeBSD RC script 2017-02-06 20:19:09 +01: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
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