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

10 years agoadded mkdata.pl generator for cross-compiling, fixes #31
Andrew Karpow [Sun, 19 Oct 2014 20:57:22 +0000 (22:57 +0200)]
added mkdata.pl generator for cross-compiling, fixes #31

10 years agoprepare for 1.2.3 release
Andrew Karpow [Sun, 19 Oct 2014 18:29:30 +0000 (20:29 +0200)]
prepare for 1.2.3 release

10 years agoset mpd timeout only after connect, fixes #32
Andrew Karpow [Sun, 19 Oct 2014 18:27:11 +0000 (20:27 +0200)]
set mpd timeout only after connect, fixes #32

10 years agoupgraded to mongoose 5.4, introducing ipv6 support
Andrew Karpow [Sun, 19 Oct 2014 17:52:23 +0000 (19:52 +0200)]
upgraded to mongoose 5.4, introducing ipv6 support

10 years agomake mkdata more portable, fixes #35
Andrew Karpow [Sun, 19 Oct 2014 14:45:49 +0000 (16:45 +0200)]
make mkdata more portable, fixes #35

10 years agofixed CMake warning CMP0026
Andrew Karpow [Sun, 19 Oct 2014 14:35:16 +0000 (16:35 +0200)]
fixed CMake warning CMP0026

10 years agoCreate ympd.spec
KAMiKAZOW [Wed, 30 Jul 2014 04:34:54 +0000 (06:34 +0200)]
Create ympd.spec

Spec file to create RPM packages. Works under Fedora 19 and 20:
https://build.opensuse.org/package/show/home:KAMiKAZOW:Fedora/ympd

10 years agoMerge pull request #19 from ajs124/master
Andy [Sat, 24 May 2014 13:25:47 +0000 (15:25 +0200)]
Merge pull request #19 from ajs124/master

remove webkit prefix from notifications

10 years agochange notification cookie from session to "permanent"
ajs124 [Sat, 24 May 2014 01:12:51 +0000 (03:12 +0200)]
change notification cookie from session to "permanent"

10 years agoremove webkit prefix from Notifications, now working with firefox!
ajs124 [Sat, 24 May 2014 00:57:30 +0000 (02:57 +0200)]
remove webkit prefix from Notifications, now working with firefox!
+ probably fix bug with undefined artist or album

10 years agobumped version to 1.2.2
Andrew Karpow [Fri, 9 May 2014 12:10:14 +0000 (14:10 +0200)]
bumped version to 1.2.2

10 years agoMerge pull request #14 from phmongeau/master
Andy [Wed, 23 Apr 2014 15:31:05 +0000 (17:31 +0200)]
Merge pull request #14 from phmongeau/master

make service environment file optional

10 years agomake service environment file optional
Philippe Mongeau [Wed, 23 Apr 2014 14:47:25 +0000 (10:47 -0400)]
make service environment file optional

10 years agodrop privliges after port binding, fixes #12
Andrew Karpow [Wed, 23 Apr 2014 10:17:55 +0000 (12:17 +0200)]
drop privliges after port binding, fixes #12

10 years agoMerge pull request #13 from kingcody/hotfix/prev-next-swap
Andy [Wed, 23 Apr 2014 10:03:17 +0000 (12:03 +0200)]
Merge pull request #13 from kingcody/hotfix/prev-next-swap

fix prev and next buttons

10 years agofix prev and next buttons; was swapped
Cody Mize [Wed, 23 Apr 2014 07:13:07 +0000 (03:13 -0400)]
fix prev and next buttons; was swapped

10 years agoMerge pull request #11 from Nighoo/typo-1
Andy [Tue, 15 Apr 2014 18:59:50 +0000 (20:59 +0200)]
Merge pull request #11 from Nighoo/typo-1

fix some typos

10 years agofix some typos
Nico Suhl [Tue, 15 Apr 2014 17:16:04 +0000 (19:16 +0200)]
fix some typos

10 years agoMerge pull request #9 from TheReverend403/patch-1
Andy [Tue, 15 Apr 2014 12:32:52 +0000 (14:32 +0200)]
Merge pull request #9 from TheReverend403/patch-1

fixed typo in index.html

10 years agoErmahgerd! Werbserver!
Lee Watson [Tue, 15 Apr 2014 11:41:48 +0000 (12:41 +0100)]
Ermahgerd! Werbserver!

Yeah, typo.

10 years agoMerge pull request #8 from Kernald/systemd-unit-config
Andy [Sun, 13 Apr 2014 20:37:43 +0000 (22:37 +0200)]
Merge pull request #8 from Kernald/systemd-unit-config

Allow the sytemd unit to read a configuration file

10 years agoAllow the sytemd unit to read a configuration file
Marc Plano-Lesay [Sat, 12 Apr 2014 17:45:40 +0000 (19:45 +0200)]
Allow the sytemd unit to read a configuration file

10 years agorelease 1.2.1
Andrew Karpow [Mon, 31 Mar 2014 15:55:40 +0000 (17:55 +0200)]
release 1.2.1

10 years agoincreased mpd timeout to 10 seconds
engine [Sun, 30 Mar 2014 12:18:28 +0000 (14:18 +0200)]
increased mpd timeout to 10 seconds

Signed-off-by: Andrew Karpow <andy@ndyk.de>
10 years agobugfix timeout when using the searchfield
othmar52 [Thu, 27 Mar 2014 09:52:28 +0000 (10:52 +0100)]
bugfix timeout when using the searchfield

Signed-off-by: Andrew Karpow <andy@ndyk.de>
10 years agoadded mkdata dependency properly, fixes #7
Andrew Karpow [Tue, 18 Mar 2014 03:01:39 +0000 (04:01 +0100)]
added mkdata dependency properly, fixes #7

10 years agoReadme adaptions for 1.2.0 release
Andrew Karpow [Tue, 18 Mar 2014 00:37:33 +0000 (01:37 +0100)]
Readme adaptions for 1.2.0 release

10 years agoMerge branch 'mongoose'
Andrew Karpow [Tue, 18 Mar 2014 00:30:01 +0000 (01:30 +0100)]
Merge branch 'mongoose'

10 years agoadd badge
Andrew Karpow [Tue, 11 Mar 2014 19:29:39 +0000 (20:29 +0100)]
add badge