ympd.git
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 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

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

9 years agoupdate init script and systemd service file
Jason Pleau [Fri, 1 May 2015 21:11:15 +0000 (17:11 -0400)]
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.

9 years agowebpage: remove respond.js
Jason Pleau [Fri, 1 May 2015 21:06:54 +0000 (17:06 -0400)]
webpage: remove respond.js

Calling outside resources is a breach of privacy, and prevents the page
from loading correctly if offline.

9 years agomanpage: set section to 1 and update version
Jason Pleau [Fri, 1 May 2015 21:05:34 +0000 (17:05 -0400)]
manpage: set section to 1 and update version

9 years agoapply mg_set listening_port only once, fixes #71
Andrew Karpow [Fri, 1 May 2015 19:05:15 +0000 (21:05 +0200)]
apply mg_set listening_port only once, fixes #71

9 years agoadd support for output enable/disable
Kurt Van Dijck [Tue, 28 Apr 2015 09:08:21 +0000 (11:08 +0200)]
add support for output enable/disable

9 years agofixed memleak in mpd_set_password
Andrew Karpow [Fri, 24 Apr 2015 22:39:16 +0000 (00:39 +0200)]
fixed memleak in mpd_set_password

9 years agoremoved %m formatstring, works now with openbsd, fixes #68
Andrew Karpow [Fri, 24 Apr 2015 22:35:01 +0000 (00:35 +0200)]
removed %m formatstring, works now with openbsd, fixes #68

9 years agoadd libmpdclient header location to gcc-search path, fixes openbsd builds
Andrew Karpow [Fri, 24 Apr 2015 21:38:39 +0000 (23:38 +0200)]
add libmpdclient header location to gcc-search path, fixes openbsd builds

9 years agoMerge pull request #67 from jpleau/update_mongoos_56
Andy [Fri, 24 Apr 2015 19:41:31 +0000 (21:41 +0200)]
Merge pull request #67 from jpleau/update_mongoos_56

Update mongoos 56

9 years agoreplace mg_iterate_over_connections with a loop with mg_next
Jason Pleau [Tue, 21 Apr 2015 03:11:03 +0000 (23:11 -0400)]
replace mg_iterate_over_connections with a loop with mg_next

9 years agoupdate mongoose to 5.6
Jason Pleau [Tue, 21 Apr 2015 03:05:23 +0000 (23:05 -0400)]
update mongoose to 5.6

9 years agoMerge pull request #56 from warhog/master
Andy [Thu, 19 Mar 2015 22:08:15 +0000 (23:08 +0100)]
Merge pull request #56 from warhog/master

Added ability to add streams

9 years agochanged order of menu entries
warhog [Fri, 6 Mar 2015 11:41:26 +0000 (12:41 +0100)]
changed order of menu entries

9 years agoadded ability to add streams
warhog [Fri, 6 Mar 2015 11:40:14 +0000 (12:40 +0100)]
added ability to add streams

9 years agoMerge pull request #52 from ajs124/master
Andy [Tue, 3 Mar 2015 20:50:49 +0000 (21:50 +0100)]
Merge pull request #52 from ajs124/master

Add crossfade support. Not sure about the icon/glyph though

9 years agoMerge pull request #40 from iwanders/master
Andy [Tue, 3 Mar 2015 20:49:46 +0000 (21:49 +0100)]
Merge pull request #40 from iwanders/master

Change websocket URL to allow easy incorporation of different backends.

9 years agoAdd crossfade support. Not sure about the icon/glyph though
ajs124 [Tue, 17 Feb 2015 14:45:26 +0000 (15:45 +0100)]
Add crossfade support. Not sure about the icon/glyph though

10 years agorelease build now installs assets to prefix
Andrew Karpow [Tue, 11 Nov 2014 20:13:11 +0000 (21:13 +0100)]
release build now installs assets to prefix

if build with dynamic assets

10 years agoChanges URL used for the websocket.
Ivor Wanders [Sun, 2 Nov 2014 13:29:43 +0000 (14:29 +0100)]
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.

10 years agoMerge pull request #38 from jpleau/jquery
Andy [Mon, 3 Nov 2014 18:07:33 +0000 (19:07 +0100)]
Merge pull request #38 from jpleau/jquery

add jquery source file

10 years agoMerge pull request #26 from KAMiKAZOW/patch-1
Andy [Mon, 3 Nov 2014 02:22:05 +0000 (03:22 +0100)]
Merge pull request #26 from KAMiKAZOW/patch-1

Create ympd.spec

10 years agoMerge pull request #37 from jpleau/fix_mpd_port_argument
Andy [Sun, 2 Nov 2014 12:13:04 +0000 (13:13 +0100)]
Merge pull request #37 from jpleau/fix_mpd_port_argument

ympd.c: add a break statement for the mpd port argument

10 years agoadd jquery source file
Jason Pleau [Wed, 29 Oct 2014 22:03:25 +0000 (18:03 -0400)]
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.

10 years agoympd.c: add a break statement for the mpd port argument
Jason Pleau [Wed, 29 Oct 2014 02:48:08 +0000 (22:48 -0400)]
ympd.c: add a break statement for the mpd port argument

Otherwise, passing -p tried to also bind the http server to MPD's port
(which was already in use by MPD...)

10 years agoRename ympd.spec to contrib/ympd.spec
KAMiKAZOW [Wed, 29 Oct 2014 02:08:59 +0000 (03:08 +0100)]
Rename ympd.spec to contrib/ympd.spec

10 years agoMerge pull request #36 from jpleau/init_script
Andy [Wed, 29 Oct 2014 01:38:04 +0000 (02:38 +0100)]
Merge pull request #36 from jpleau/init_script

init.debian: correct typo in shebang and adjust default webport

10 years agoinit.debian: correct typo in shebang and adjust default webport
Jason Pleau [Wed, 29 Oct 2014 00:11:25 +0000 (20:11 -0400)]
init.debian: correct typo in shebang and adjust default webport

The default webport in the systemd unit is 8080, but the one in the init
script was 80.

10 years agoadd WITH_DYNAMIC_SERVING for theme developing
Andrew Karpow [Mon, 27 Oct 2014 21:12:10 +0000 (22:12 +0100)]
add WITH_DYNAMIC_SERVING for theme developing