ympd.git
5 years agomoved default user definition to service file
SuperBFG7 [Mon, 22 Apr 2019 09:51:09 +0000 (11:51 +0200)]
moved default user definition to service file

5 years agomoved definition of default user to service file
SuperBFG7 [Mon, 22 Apr 2019 09:47:22 +0000 (11:47 +0200)]
moved definition of default user to service file

5 years agoHarden ympd.service
Clément Pit-Claudel [Sun, 10 Mar 2019 16:43:39 +0000 (16:43 +0000)]
Harden ympd.service

This offers a measure of protection against potential ympd vulnerabilities.  See
https://www.freedesktop.org/software/systemd/man/systemd.exec.html for
documentation.

6 years agoMerge pull request #158 from eb041592/master
Andy [Thu, 29 Mar 2018 18:37:43 +0000 (20:37 +0200)]
Merge pull request #158 from eb041592/master

Update FreeBSD RC script

6 years agoMerge pull request #159 from eb041592/unclutter_interface
Andy [Thu, 29 Mar 2018 18:36:25 +0000 (20:36 +0200)]
Merge pull request #159 from eb041592/unclutter_interface

Unclutter Interface

6 years agoMerge pull request #160 from eb041592/verbose_lists
Andy [Thu, 29 Mar 2018 18:36:03 +0000 (20:36 +0200)]
Merge pull request #160 from eb041592/verbose_lists

Add artist and album to queue and search results

6 years agoMerge pull request #162 from archphile/master
Andy [Thu, 29 Mar 2018 18:34:21 +0000 (20:34 +0200)]
Merge pull request #162 from archphile/master

fixed a typo

6 years agoMerge pull request #163 from ffontaine/master
Andy [Thu, 29 Mar 2018 18:32:23 +0000 (20:32 +0200)]
Merge pull request #163 from ffontaine/master

ympd is implemented only in C

6 years agoympd is implemented only in C
Fabrice Fontaine [Thu, 8 Mar 2018 17:00:09 +0000 (18:00 +0100)]
ympd is implemented only in C

By default, CMake assumes that the project is using both C and C++. By
explicitly passing 'C' as argument of the project() macro, we tell
CMake that only C is used, which prevents CMake from checking if a C++
compiler exists.

Patch applied to buildroot since 2014:
https://git.buildroot.net/buildroot/commit/package/ympd?id=40aa523af26963321443a2d96c64ce128577ca77

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
6 years agofixed a typo
Archphile [Mon, 5 Mar 2018 11:54:46 +0000 (13:54 +0200)]
fixed a typo

Replaced $DIRBLE_API_TOKE with $DIRBLE_API_TOKEN in order for the service to be functional.

6 years agoReverted some formatting; aligned CSS
eb041592 [Sun, 4 Feb 2018 12:24:44 +0000 (13:24 +0100)]
Reverted some formatting; aligned CSS

6 years agoAlign the labels for the trash mode buttons with display:inline-block
eb041592 [Sun, 4 Feb 2018 23:38:20 +0000 (00:38 +0100)]
Align the labels for the trash mode buttons with display:inline-block

6 years agoHide Dirble app, if no API token is given/available
eb041592 [Sun, 4 Feb 2018 11:50:44 +0000 (12:50 +0100)]
Hide Dirble app, if no API token is given/available

6 years agoRemoved default for dirble_api_token from ympd.c
eb041592 [Sun, 4 Feb 2018 00:50:28 +0000 (01:50 +0100)]
Removed default for dirble_api_token from ympd.c

6 years agoMinor formatting
eb041592 [Sun, 4 Feb 2018 00:11:41 +0000 (01:11 +0100)]
Minor formatting

6 years agoHide output button(s) if there is only one configured output
eb041592 [Sat, 3 Feb 2018 23:30:45 +0000 (00:30 +0100)]
Hide output button(s) if there is only one configured output

6 years agoFixed error with "... added" notifications
eb041592 [Sat, 3 Feb 2018 15:34:22 +0000 (16:34 +0100)]
Fixed error with "... added" notifications

6 years agoExtended text field for stream url across entire width of dialog
eb041592 [Sat, 3 Feb 2018 14:06:59 +0000 (15:06 +0100)]
Extended text field for stream url across entire width of dialog

6 years agoMoved button for notifications to settings
eb041592 [Sat, 3 Feb 2018 13:51:48 +0000 (14:51 +0100)]
Moved button for notifications to settings

6 years agoRearranged artist and album information in queue and search results.
eb041592 [Sat, 3 Feb 2018 11:03:33 +0000 (12:03 +0100)]
Rearranged artist and album information in queue and search results.

6 years agoSome more spelling
eb041592 [Fri, 2 Feb 2018 01:40:40 +0000 (02:40 +0100)]
Some more spelling

6 years agoAdded artist and album to both queue and search results; minor spelling
eb041592 [Fri, 2 Feb 2018 01:14:31 +0000 (02:14 +0100)]
Added artist and album to both queue and search results; minor spelling

6 years agoUpdate FreeBSD RC script
eb041592 [Sun, 28 Jan 2018 20:22:06 +0000 (21:22 +0100)]
Update FreeBSD RC script

- removed /usr/sbin/daemon's option "-t" (first appeared in FreeBSD 11, leading to an error in previous versions; since the [t]itle defaults to the daemonized invocation anyways, this shouldn't make a difference for FreeBSD 11+)
- removed /usr/sbin/daemon's option "-u" and the respective variable in the script (ympd has to be started as root to be able to bind to port 80)
- allow for additional arguments via ympd_flags="" in rc.conf (which would again allow to drop privileges after binding to the port)

6 years agofixed mpd connection with empty mpdpass introduced by #148
Andrew Karpow [Fri, 26 Jan 2018 14:06:34 +0000 (15:06 +0100)]
fixed mpd connection with empty mpdpass introduced by #148

6 years agoMerge branch 'master' of github.com:notandy/ympd
Andrew Karpow [Mon, 22 Jan 2018 04:02:09 +0000 (05:02 +0100)]
Merge branch 'master' of github.com:notandy/ympd

6 years agoMerge branch 'lesderid-master'
Andrew Karpow [Mon, 22 Jan 2018 04:01:40 +0000 (05:01 +0100)]
Merge branch 'lesderid-master'

6 years agoMerge branch 'master' of https://github.com/lesderid/ympd into lesderid-master
Andrew Karpow [Mon, 22 Jan 2018 03:58:17 +0000 (04:58 +0100)]
Merge branch 'master' of https://github.com/lesderid/ympd into lesderid-master

6 years agoMerge pull request #157 from florianheinemann/patch-1
Andy [Mon, 22 Jan 2018 03:55:07 +0000 (04:55 +0100)]
Merge pull request #157 from florianheinemann/patch-1

Update README.md to highlight OpenSSL dependency

6 years agoMerge branch 'SuperBFG7-send-message'
Andrew Karpow [Mon, 22 Jan 2018 03:50:43 +0000 (04:50 +0100)]
Merge branch 'SuperBFG7-send-message'

6 years agoMerge branch 'send-message' of https://github.com/SuperBFG7/ympd into SuperBFG7-send...
Andrew Karpow [Mon, 22 Jan 2018 03:50:22 +0000 (04:50 +0100)]
Merge branch 'send-message' of https://github.com/SuperBFG7/ympd into SuperBFG7-send-message

6 years agoupdate travis image
Andrew Karpow [Mon, 22 Jan 2018 03:45:59 +0000 (04:45 +0100)]
update travis image

6 years agoMerge branch 'BenjaminHae-sortable'
Andrew Karpow [Mon, 22 Jan 2018 03:40:52 +0000 (04:40 +0100)]
Merge branch 'BenjaminHae-sortable'

6 years agoMerge pull request #156 from znetstar/master
Andy [Mon, 22 Jan 2018 03:35:21 +0000 (04:35 +0100)]
Merge pull request #156 from znetstar/master

Adds a Dockerfile

6 years agoMerge pull request #149 from SuperBFG7/delete
Andy [Mon, 22 Jan 2018 03:34:54 +0000 (04:34 +0100)]
Merge pull request #149 from SuperBFG7/delete

add ability to delete ranges of the playlist

6 years agoMerge pull request #134 from Kernald/fix-double-slashes
Andy [Mon, 22 Jan 2018 03:33:54 +0000 (04:33 +0100)]
Merge pull request #134 from Kernald/fix-double-slashes

Fix double slashes in websocket URL

6 years agoMerge pull request #130 from govertbuijs/master
Andy [Mon, 22 Jan 2018 03:32:57 +0000 (04:32 +0100)]
Merge pull request #130 from govertbuijs/master

Added crude filtering for browsing db

6 years agoMerge pull request #150 from azrdev/no-overwrite-cflags
Andy [Mon, 22 Jan 2018 03:26:09 +0000 (04:26 +0100)]
Merge pull request #150 from azrdev/no-overwrite-cflags

Don't overwrite CFLAGS

6 years agoMerge pull request #148 from unknownloner/master
Andy [Mon, 22 Jan 2018 03:23:51 +0000 (04:23 +0100)]
Merge pull request #148 from unknownloner/master

Allow MPD Password to be configured in command line options

6 years agoMerge pull request #145 from felixjogris/master
Andy [Mon, 22 Jan 2018 03:22:36 +0000 (04:22 +0100)]
Merge pull request #145 from felixjogris/master

added FreeBSD RC script

6 years agoUpdate README.md to highlight OpenSSL dependency
Florian Heinemann [Sun, 21 Jan 2018 21:06:40 +0000 (22:06 +0100)]
Update README.md to highlight OpenSSL dependency

7 years agoAdds a Dockerfile for building a lightweight Docker container based on alpine
Zachary Boyd [Sat, 23 Dec 2017 20:11:47 +0000 (12:11 -0800)]
Adds a Dockerfile for building a lightweight Docker container based on alpine

7 years agoDon't overwrite CFLAGS
azrdev [Sun, 14 May 2017 05:37:46 +0000 (07:37 +0200)]
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

7 years agoadd ability to delete ranges of the playlist
SuperBFG7 [Sat, 8 Apr 2017 09:25:40 +0000 (11:25 +0200)]
add ability to delete ranges of the playlist

7 years agoFix segfault when using short password option (-m)
Galen Alderson [Wed, 29 Mar 2017 16:17:01 +0000 (12:17 -0400)]
Fix segfault when using short password option (-m)

7 years agoadded missing include
SuperBFG7 [Fri, 24 Mar 2017 10:01:24 +0000 (11:01 +0100)]
added missing include

7 years agoadd a button to love tracks on last.fm using mpdas
SuperBFG7 [Sat, 18 Mar 2017 12:32:17 +0000 (13:32 +0100)]
add a button to love tracks on last.fm using mpdas

7 years agoadded API command to send messages to MPD channels
SuperBFG7 [Sat, 18 Mar 2017 12:31:26 +0000 (13:31 +0100)]
added API command to send messages to MPD channels

7 years agoquote password
unknownln [Sat, 18 Feb 2017 17:05:24 +0000 (12:05 -0500)]
quote password

7 years agoconfig for system services
unknownln [Sat, 18 Feb 2017 17:00:28 +0000 (12:00 -0500)]
config for system services

7 years agoUpdate documentation for new option
unknownln [Sat, 18 Feb 2017 16:51:03 +0000 (11:51 -0500)]
Update documentation for new option

7 years agoAdd option to set MPD password
unknownln [Sat, 18 Feb 2017 16:42:20 +0000 (11:42 -0500)]
Add option to set MPD password

7 years agoadded FreeBSD RC script
Felix J. Ogris [Mon, 6 Feb 2017 19:19:09 +0000 (20:19 +0100)]
added FreeBSD RC script

8 years agoMake the Dirble API token configurable and use HTTPS
Les De Ridder [Sun, 11 Sep 2016 15:54:25 +0000 (17:54 +0200)]
Make the Dirble API token configurable and use HTTPS

Fixes #140

8 years agoFix double slashes in websocket URL
Marc Plano-Lesay [Thu, 7 Jul 2016 13:22:15 +0000 (15:22 +0200)]
Fix double slashes in websocket URL

8 years agoAdded crude filtering for browsing db
Govert Buijs [Wed, 8 Jun 2016 21:20:27 +0000 (23:20 +0200)]
Added crude filtering for browsing db

8 years agoMerge pull request #116 from SuperBFG7/comma
Andy [Sat, 13 Feb 2016 21:01:52 +0000 (22:01 +0100)]
Merge pull request #116 from SuperBFG7/comma

fix handling of commas in library item names

8 years agoremoved minified files, minifing should be part of build process
Andrew Karpow [Sat, 13 Feb 2016 20:58:43 +0000 (21:58 +0100)]
removed minified files, minifing should be part of build process

8 years agoMerge pull request #113 from BenjaminHae/playbutton
Andy [Sat, 13 Feb 2016 20:51:34 +0000 (21:51 +0100)]
Merge pull request #113 from BenjaminHae/playbutton

added functionality of play/pause symbol track-icon to queue header

8 years agoMerge pull request #102 from SuperBFG7/browse
Andy [Sat, 13 Feb 2016 20:49:18 +0000 (21:49 +0100)]
Merge pull request #102 from SuperBFG7/browse

remember last folder in browser

8 years agoMerge pull request #104 from SuperBFG7/touch
Andy [Sat, 13 Feb 2016 20:48:54 +0000 (21:48 +0100)]
Merge pull request #104 from SuperBFG7/touch

do not use mouseenter/leave on touch devices

8 years agoMerge pull request #92 from BenjaminHae/master
Andy [Sat, 13 Feb 2016 20:46:57 +0000 (21:46 +0100)]
Merge pull request #92 from BenjaminHae/master

moved Update-DB Button to settings

8 years agoMerge branch 'sortable' of https://github.com/BenjaminHae/ympd into BenjaminHae-sortable
Andrew Karpow [Sat, 13 Feb 2016 20:31:23 +0000 (21:31 +0100)]
Merge branch 'sortable' of https://github.com/BenjaminHae/ympd into BenjaminHae-sortable

8 years agoMerge pull request #97 from SuperBFG7/ssl
Andy [Sat, 13 Feb 2016 20:24:44 +0000 (21:24 +0100)]
Merge pull request #97 from SuperBFG7/ssl

Compile mongoose with SSL support

8 years agoMerge pull request #120 from notandy/fix-travis-ci
Andy [Sat, 13 Feb 2016 20:21:53 +0000 (21:21 +0100)]
Merge pull request #120 from notandy/fix-travis-ci

probably fix travis ci

8 years agoprobably fix travis ci
Andrew Karpow [Sat, 13 Feb 2016 17:09:27 +0000 (18:09 +0100)]
probably fix travis ci

8 years agofix handling of commas in library item names
SuperBFG7 [Mon, 25 Jan 2016 12:29:28 +0000 (13:29 +0100)]
fix handling of commas in library item names

8 years agoadded functionality of play/pause button to queue header
Benjamin H盲ublein [Sat, 16 Jan 2016 18:33:29 +0000 (19:33 +0100)]
added functionality of play/pause button to queue header

9 years agodo not use mouseenter/leave on touch devices
SuperBFG7 [Thu, 22 Oct 2015 15:48:42 +0000 (17:48 +0200)]
do not use mouseenter/leave on touch devices

9 years agoremember last folder in browser
SuperBFG7 [Thu, 22 Oct 2015 09:44:50 +0000 (11:44 +0200)]
remember last folder in browser

9 years agoadded documentation for SSL usage
Daniel Schregenberger [Tue, 6 Oct 2015 16:53:14 +0000 (18:53 +0200)]
added documentation for SSL usage

9 years agocompile mongoose with SSL support
SuperBFG7 [Sun, 27 Sep 2015 12:33:37 +0000 (14:33 +0200)]
compile mongoose with SSL support

9 years agocheck if element is sortable before removing sortable property
Benjamin H盲ublein [Sat, 26 Sep 2015 12:32:14 +0000 (14:32 +0200)]
check if element is sortable before removing sortable property

9 years agosortable queue
Benjamin H盲ublein [Fri, 4 Sep 2015 14:43:16 +0000 (16:43 +0200)]
sortable queue
using jquery-ui-sortable standalone https://github.com/ryantbrown/jquery-ui-sortable

9 years agomoved Update-DB Button to settings
Benjamin Häublein [Fri, 25 Sep 2015 08:39:51 +0000 (10:39 +0200)]
moved Update-DB Button to settings

9 years agoMerge branch 'Nofre-master'
Andrew Karpow [Sun, 20 Sep 2015 14:01:06 +0000 (16:01 +0200)]
Merge branch 'Nofre-master'

9 years agoMerge branch 'master' of https://github.com/Nofre/ympd into Nofre-master
Andrew Karpow [Sun, 20 Sep 2015 14:00:45 +0000 (16:00 +0200)]
Merge branch 'master' of https://github.com/Nofre/ympd into Nofre-master

9 years agoMerge pull request #69 from kurt-vd/master
Andy [Sun, 20 Sep 2015 13:56:10 +0000 (15:56 +0200)]
Merge pull request #69 from kurt-vd/master

add support for output enable/disable

9 years agoMerge pull request #82 from iwanders/improvement_stream_ui
Andy [Sun, 20 Sep 2015 13:55:19 +0000 (15:55 +0200)]
Merge pull request #82 from iwanders/improvement_stream_ui

Improve the add stream dialog user experience.

9 years agoMerge pull request #87 from BenjaminHae/master
Andy [Sun, 20 Sep 2015 13:54:20 +0000 (15:54 +0200)]
Merge pull request #87 from BenjaminHae/master

Added the ability to save queue as playlist

9 years agoMerge pull request #89 from dewyatt/master
Andy [Sun, 20 Sep 2015 13:53:23 +0000 (15:53 +0200)]
Merge pull request #89 from dewyatt/master

Add arrow left/right and spacebar controls

9 years agoMerge pull request #84 from hsoft/add-all-songs
Andy [Sun, 20 Sep 2015 13:52:52 +0000 (15:52 +0200)]
Merge pull request #84 from hsoft/add-all-songs

Add "Add all" button in the Browse section

9 years agoAdd arrow left/right and spacebar controls
Daniel Wyatt [Sun, 13 Sep 2015 08:38:18 +0000 (04:38 -0400)]
Add arrow left/right and spacebar controls

9 years agoSave Queue
Benjamin H盲ublein [Wed, 2 Sep 2015 17:24:52 +0000 (19:24 +0200)]
Save Queue

9 years agocode cleared
Nofre [Wed, 2 Sep 2015 17:38:42 +0000 (19:38 +0200)]
code cleared

9 years agoAdded a tab to search radio stations from Dirble. Also fixes #85
Nofre [Thu, 27 Aug 2015 14:15:23 +0000 (16:15 +0200)]
Added a tab to search radio stations from Dirble. Also fixes #85

9 years agoAdd "Add all" button in the Browse section
Virgil Dupras [Mon, 17 Aug 2015 21:01:47 +0000 (17:01 -0400)]
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.

9 years agoImproves the add stream dialog user experience.
Ivor Wanders [Thu, 16 Jul 2015 09:50:54 +0000 (11:50 +0200)]
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.

9 years agoMerge pull request #81 from hsoft/fix-encoded-uri-addtrack
Andy [Thu, 16 Jul 2015 09:38:53 +0000 (11:38 +0200)]
Merge pull request #81 from hsoft/fix-encoded-uri-addtrack

Fix broken add track action

9 years agoFix broken add track action
Virgil Dupras [Mon, 13 Jul 2015 18:31:56 +0000 (14:31 -0400)]
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

9 years agoMerge pull request #78 from hsoft/master
Andy [Wed, 24 Jun 2015 18:17:05 +0000 (20:17 +0200)]
Merge pull request #78 from hsoft/master

Fix browsing for non-ascii entity URI under Safari

9 years agoFix browsing for non-ascii entity URI under Safari
Virgil Dupras [Sun, 21 Jun 2015 02:39:42 +0000 (22:39 -0400)]
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.

9 years agooutputs: fix typo
Kurt Van Dijck [Mon, 25 May 2015 16:11:22 +0000 (18:11 +0200)]
outputs: fix typo

9 years agoMerge pull request #73 from jpleau/fix_init
Andy [Sun, 3 May 2015 00:20:04 +0000 (02:20 +0200)]
Merge pull request #73 from jpleau/fix_init

fix webport using the wrong variable in init scripts

9 years agooutputs: show MPD error message on stderr
Kurt Van Dijck [Sat, 2 May 2015 12:36:02 +0000 (14:36 +0200)]
outputs: show MPD error message on stderr

9 years agofix webport using the wrong variable in init scripts
Jason Pleau [Sat, 2 May 2015 00:54:10 +0000 (20:54 -0400)]
fix webport using the wrong variable in init scripts

9 years agoreplaced deprecated drone.yml with travis-ci
Andrew Karpow [Fri, 1 May 2015 23:41:08 +0000 (01:41 +0200)]
replaced deprecated drone.yml with travis-ci

9 years agoMerge pull request #72 from jpleau/various_patches
Andy [Fri, 1 May 2015 23:11:05 +0000 (01:11 +0200)]
Merge pull request #72 from jpleau/various_patches

various patches: manpage, remove external js, init scripts

9 years agooutputs: clear possible error
Kurt Van Dijck [Fri, 1 May 2015 22:07:37 +0000 (00:07 +0200)]
outputs: clear possible error

9 years agooutputs: reduce duplicate code
Kurt Van Dijck [Fri, 1 May 2015 21:51:44 +0000 (23:51 +0200)]
outputs: reduce duplicate code

9 years agompd_client: fix allocation of outputs
Kurt Van Dijck [Fri, 1 May 2015 21:33:07 +0000 (23:33 +0200)]
mpd_client: fix allocation of outputs