1
0
mirror of https://github.com/SuperBFG7/ympd synced 2024-11-17 03:04:47 +00:00
Commit Graph

279 Commits

Author SHA1 Message Date
jcorporation
3cac31c746 fix: some javascript errors 2018-07-19 17:33:53 +01:00
jcorporation
aa28b8e8b9 cleanup 2018-07-18 23:38:46 +01:00
jcorporation
5d685904c4 feat: first error handling code for ajax requests 2018-07-18 23:29:19 +01:00
jcorporation
bb3ae34b66 fix: use after free for cmd in mympd_callback 2018-07-18 22:47:07 +01:00
jcorporation
636ae99898 cleanup 2018-07-16 23:36:01 +01:00
jcorporation
1558a05ae4 fix: respond to all api requests 2018-07-16 23:33:55 +01:00
jcorporation
9b71a5e6ae cleanup: formatting 2018-07-15 23:51:36 +01:00
jcorporation
cf34f41467 cleanup: renamed startup options
cleanup: central startup options file: /etc/mympd/options
2018-07-15 23:26:59 +01:00
jcorporation
2fd94d734c feat: Refresh queue card only if queue_version changed 2018-07-15 22:49:57 +01:00
jcorporation
1c0c9aa14f Fix formating 2018-07-11 00:06:31 +01:00
jcorporation
c1a531f162 Improved certifcate creation, import /etc/mympd/ssl/ca/ca.pem to trust the mympd certificate 2018-07-10 22:52:16 +01:00
jcorporation
8d94cd9cab Enable ssl options 2018-07-09 22:58:25 +01:00
jcorporation
44d0c1d56e Central mympd_get_tag function 2018-07-09 18:49:55 +01:00
jcorporation
ff2b40baf8 Add songdetails modal 2018-07-09 18:28:28 +01:00
jcorporation
c494359a69 Fixed search_add function 2018-07-05 21:04:25 +01:00
jcorporation
5eb43c758b Implemented first advanced actions 2018-07-05 20:34:16 +01:00
jcorporation
d1876fd166 Fix crash, if unkown cmd is submitted 2018-07-02 20:40:56 +01:00
jcorporation
e6fef5a174 Removed first jQuery dependencies, cleanup javascript, removed bootstrap-slider 2018-06-28 23:51:24 +01:00
jcorporation
68476a7f04 Fixed buffer free after json parsing 2018-06-26 22:25:52 +01:00
jcorporation
d55db438a6 Add advanced action menus 2018-06-25 23:41:44 +01:00
jcorporation
b31a1d0dec Fixed about dialog 2018-06-24 19:59:32 +01:00
jcorporation
98d20cb08c Write statefile first to tmpfile 2018-06-24 19:05:38 +01:00
jcorporation
f5f5b23312 Return coverimage in backend to client, dont guess it. 2018-06-22 01:01:15 +01:00
jcorporation
9996c33adf Free mgr 2018-06-21 23:26:20 +01:00
jcorporation
7cff777d05 Dont run under uid 0
Optimize mkdebug.sh and mkrelease.sh
2018-06-21 23:15:54 +01:00
jcorporation
2dff568abe Added google closure compiler for css and js files 2018-06-21 22:29:49 +01:00
jcorporation
2098060765 Document state file option 2018-06-21 18:28:07 +01:00
jcorporation
c11bfa0d1a Save myMPD settings in state file, not in cookies 2018-06-21 17:57:40 +01:00
jcorporation
b790a687a3 Fixed invalid free for run_as_user 2018-06-20 23:46:52 +01:00
jcorporation
8555803683 API Improvements 2018-06-19 23:43:36 +01:00
jcorporation
bd00810072 Fixed buffer overflow in notify callback.
Occurs only if multiple clients are connected.
2018-06-18 22:24:35 +01:00
jcorporation
df91c33705 Implement jsonrpc api 2018-06-18 20:55:54 +01:00
jcorporation
e6fa1206ca Replaced json_encode with frozen 2018-06-18 17:53:30 +01:00
jcorporation
4dcf613708 Output json with frozen 2018-06-17 23:42:22 +01:00
jcorporation
3df104e72d First code for new jsonrpc api 2018-06-14 23:57:57 +01:00
jcorporation
96a7b8a5c9 Add frozen 2018-06-14 23:04:01 +01:00
jcorporation
fba2a0540a Renamed functions with mympd prefix 2018-06-14 23:00:54 +01:00
jcorporation
325094f6e7 Removed obsolet options 2018-06-14 21:24:26 +01:00
jcorporation
290d591c39 Initial websocket connection with mympd version 2018-06-14 21:19:36 +01:00
jcorporation
5bc3816d10 Replaced websocket through ajax requests for requests.
Now the websocket pushes only the states of mpd.
Merged outputstate in state notify
2018-06-14 20:56:12 +01:00
jcorporation
7a3103d035 Removed mongoose src 2018-06-14 16:28:10 +01:00
jcorporation
998d675b2c Fixed websocket connection - Send on connect settings and output 2018-06-13 00:29:58 +01:00
jcorporation
401bd5302f Rewrite to newest mongoose version 2018-06-12 02:09:24 +01:00
jcorporation
25fa58aa8c Upgrade to mongoose-6.11 2018-06-12 01:07:03 +01:00
jcorporation
1ec430513f t 2018-06-11 21:35:11 +01:00
jcorporation
49694c78df Enable gcc sanitizers 2018-06-11 20:52:24 +01:00
jcorporation
d674ae5f13 Use queue version for song change in http streams 2018-06-11 19:34:45 +01:00
jcorporation
332855bcf4 Fixed actions and http stream update 2018-06-11 18:33:11 +01:00
jcorporation
19fe8b61bf Central state change 2018-06-10 23:15:33 +02:00
jcorporation
4805ae4f1f Save states of cards, tabs and views 2018-06-07 23:26:35 +01:00
jcorporation
e906fd2f63 Accept "nan" for mixrampdelay, sets it to -1 (disblaed) Issue #9
Changes types from double to float for mixrampdb and mixrampdelay
2018-06-05 23:04:45 +01:00
jcorporation
8bf7729633 Fixed setting mixrampdelay and mixrampdb, issue #9 2018-06-04 20:48:23 +02:00
jcorporation
abedf01628 Added filtering of playlists and database, issue #8 2018-06-04 20:31:05 +02:00
jcorporation
4d7d56120d Fixed albums with comma in browse database view 2018-06-03 23:43:00 +02:00
jcorporation
a10be9b161 Browse database view completed 2018-06-03 21:35:16 +02:00
jcorporation
7962a8ff54 First database browse code 2018-06-03 17:36:06 +01:00
jcorporation
e37c678a89 Fixed filtering of playlists in browse filesystem view 2018-06-03 11:50:50 +01:00
jcorporation
5567e29feb Implemented filtering function in browse filesystem view 2018-06-03 09:55:01 +01:00
jcorporation
19eeae728c Implemented filtering in browse filesystem view 2018-06-03 09:52:38 +01:00
jcorporation
234772155a List playlists in browse filesystem view 2018-06-03 06:17:30 +01:00
jcorporation
3353715d9e MPD Version in About Modal 2018-06-01 00:29:45 +01:00
jcorporation
efb3ef87be New function: AddAllFromSearch
Styling cleanups
2018-06-01 00:05:49 +01:00
jcorporation
7d5accdb92 Added Replaygain to settings
Improved coverimage display
2018-05-31 21:23:57 +01:00
jcorporation
994f6d2daa Get MAX_ELEMENTS_PER_PAGE from central config (Settings API) 2018-05-29 23:55:24 +02:00
jcorporation
4802b417aa Fixed version option 2018-05-29 23:28:11 +02:00
jcorporation
8c423f4c77 New Settings API replaces Options API, Smaller Stats API 2018-05-29 23:05:34 +02:00
jcorporation
f122355c38 Search, Queueview and BrowseFilesystem enhancements 2018-05-29 22:12:11 +02:00
jcorporation
6bb24e72f8 New layout for browse card
First steps for playlist view
2018-05-29 00:05:56 +02:00
jcorporation
be55474a07 Added/improved crossfade, mixrampdb, mixrampdelay settings
Completed status interface
2018-05-28 20:48:43 +02:00
jcorporation
1da825c712 Added statistics to about dialog 2018-05-27 23:34:39 +02:00
jcorporation
edd318d026 Improved page navigation for queue view and queue search 2018-05-27 22:21:18 +02:00
jcorporation
14ef6648c6 Configurable coverimage filename 2018-05-27 15:13:42 +01:00
jcorporation
577bc7843e Select tags for queue search
Queue toolbar improvements
2018-05-27 13:37:50 +01:00
jcorporation
2697bb9a36 Queue Search Improvements -> Search as you type 2018-05-25 17:12:46 +01:00
jcorporation
78c1aae4e4 Queue Search 2018-05-25 00:08:33 +01:00
jcorporation
d773dfb745 Added search queue function 2018-05-24 23:21:19 +01:00
jcorporation
222ee460d6 added shuffle queue function 2018-05-24 20:36:40 +01:00
jcorporation
d58c4b0f1d Renaming to mympd 2018-05-24 19:17:54 +01:00
jcorporation
f55fa51934 Replaces jquery.cookie.js with version from https://github.com/js-cookie/js-cookie
Added streamport option to commandline
Fixed description of options in manpage and help and README
Removed mpd host options from settings menu
Removed http stream options from settings menu
2018-05-24 18:50:05 +01:00
jcorporation
361882d5af Removed option to compile assets in executeable 2018-05-24 17:26:07 +01:00
jcorporation
2c4f0fbe7e Central songChange function
fixed songChange for http streams
Set version to 1.0.0
2018-05-24 00:42:20 +01:00
jcorporation
e87c5436f5 Removed not working dirble support
Removed jquery sorttable dependency
Reworked html template
Reworked notifications
Repaired search
2018-05-23 00:07:34 +01:00
jcorporation
c83fa60e20 Filename for album covers are now based on song_uri, replacing filename with folder.jpg
Merged css/js files
2018-05-07 20:11:49 +01:00
jcorporation
d97646fa86 Count complete queue in header and display days 2018-05-01 22:37:34 +01:00
jcorporation
801159bfe8 Display total songs in queue header 2018-04-30 15:11:53 +01:00
jcorporation
71868bf89d MAX_ELEMENTS_PER_PAGE=100 2018-04-29 21:36:11 +01:00
jcorporation
4200630849
Merge branch 'master' into master 2018-04-29 21:49:34 +02:00
SuperBFG7
265e5f76a1 Merge remote-tracking branch 'eb041592/queue_time' 2018-04-22 18:57:02 +02:00
SuperBFG7
63be6f0de0 Merge remote-tracking branch 'upstream/master' 2018-04-22 18:33:10 +02:00
jcorporation
84ff0b7906 Show Coverimage 2018-04-16 20:22:07 +01:00
eb041592
54e334a2a0 Added additional "totalTime" field to "obj" for the queue's total time. 2018-04-04 23:06:19 +02:00
Andy
17b97c8f6b
Merge pull request #159 from eb041592/unclutter_interface
Unclutter Interface
2018-03-29 20:36:25 +02:00
SuperBFG7
26b2ca3408 add option "localport" to exclude ports from auth
usefull if ympd listens on two ports: one (local) for intranet usage and
one for internet usage
2018-03-25 13:45:16 +02:00
eb041592
b091e47d2f Removed default for dirble_api_token from ympd.c 2018-02-04 01:50:28 +01:00
eb041592
fe0277bfbe Rearranged artist and album information in queue and search results. 2018-02-03 12:03:33 +01:00
eb041592
cf572b705e Added artist and album to both queue and search results; minor spelling 2018-02-02 02:14:31 +01:00
Daniel Schregenberger
2a0e4fb22a
Merge pull request #15 from SuperBFG7/notandy-master
Notandy master
2018-01-26 15:43:58 +01:00
Andrew Karpow
88b2aa70c8 fixed mpd connection with empty mpdpass introduced by #148 2018-01-26 15:06:34 +01:00
SuperBFG7
1e93d2dc82 Merge branch 'master' into notandy-master 2018-01-26 13:51:20 +01:00
Andrew Karpow
ceee8bd90a Merge branch 'master' of https://github.com/lesderid/ympd into lesderid-master 2018-01-22 04:58:17 +01:00
Andrew Karpow
ba4322c684 Merge branch 'send-message' of https://github.com/SuperBFG7/ympd into SuperBFG7-send-message 2018-01-22 04:50:22 +01:00
Andrew Karpow
265577c5ab Merge branch 'BenjaminHae-sortable' 2018-01-22 04:40:52 +01:00
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
SuperBFG7
fac60b18a1 Merge branch 'delete' 2017-04-08 11:31:41 +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
SuperBFG7
269c55b9c8 Merge remote-tracking branch 'origin/send-message' 2017-03-24 11:02:25 +01:00
SuperBFG7
dfb9adb78c added missing include 2017-03-24 11:01:24 +01:00
SuperBFG7
4f64061286 Merge remote-tracking branch 'origin/send-message' 2017-03-18 13:41:32 +01:00
SuperBFG7
07c6df23bc added API command to send messages to MPD channels 2017-03-18 13:31:26 +01:00
SuperBFG7
40c335cfca Merge branch 'patch-1' of git://github.com/eolianoe/ympd into eolianoe-patch-1 2017-03-18 10:34:57 +01: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
Les De Ridder
d9ec70a9da
Make the Dirble API token configurable and use HTTPS
Fixes #140
2016-09-11 18:23:42 +02:00
eolianoe
d2d037fe97 Display the right short option for --version 2016-04-17 11:37:04 +02:00
SuperBFG7
97bdc9aa97 fix handling of commas in library item names 2016-01-25 13:29:28 +01:00
SuperBFG7
83dcb137fb fix handling of commas in library item names 2016-01-25 13:17:28 +01:00
SuperBFG7
5090ca370e fix digest argument type 2015-11-13 10:33:32 +01:00
SuperBFG7
84ad2b06a7 fix digest argument type 2015-11-13 10:32:36 +01:00
SuperBFG7
ff92b2718f add artist and title columns (by laclaro) 2015-10-16 18:51:25 +02:00
Daniel Schregenberger
03d02e815c Merge pull request #4 from BenjaminHae/sortable
Make playlist sortable
2015-10-16 14:24:54 +02:00
SuperBFG7
686eb4f5d2 skip authorization for websockets, since mobile safari does not support it 2015-10-15 15:46:28 +02:00
SuperBFG7
bde33d5aa7 added option for htdigest authentication 2015-10-06 20:17:28 +02:00
Benjamin Häublein
9d11aaf829 sortable queue
using jquery-ui-sortable standalone https://github.com/ryantbrown/jquery-ui-sortable
2015-09-26 13:51:56 +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
Benjamin Häublein
4f138c0986 Save Queue 2015-09-02 19:47:58 +02:00
Kurt Van Dijck
3b72651d7e outputs: fix typo 2015-05-25 18:11:22 +02:00
Kurt Van Dijck
d125f0a1d3 outputs: show MPD error message on stderr 2015-05-02 14:36:02 +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
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
Jason Pleau
19c6d7eb88 replace mg_iterate_over_connections with a loop with mg_next 2015-04-20 23:11:03 -04:00
Jason Pleau
7061015486 update mongoose to 5.6 2015-04-20 23:05:23 -04:00
ajs124
3eb12e6ecd Add crossfade support. Not sure about the icon/glyph though 2015-02-17 15:45:26 +01:00
LaClaro
df3ba1c04c Added more columns also to the search 2014-11-20 20:17:16 +01:00
Andrew Karpow
e6e93a08c7 release build now installs assets to prefix
if build with dynamic assets
2014-11-11 21:13:11 +01:00
LaClaro
838237d854 Patched files to include more columns in browsing and queue mode 2014-11-11 18:41:39 +01:00
Jason Pleau
59d971dc1b 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...)
2014-10-28 22:48:08 -04:00
Andrew Karpow
dc15e3b0d7 add WITH_DYNAMIC_SERVING for theme developing 2014-10-27 22:12:10 +01:00
Andrew Karpow
60d2392022 set mpd timeout only after connect, fixes #32 2014-10-19 20:27:11 +02:00
Andrew Karpow
aa60cb8991 upgraded to mongoose 5.4, introducing ipv6 support 2014-10-19 19:52:23 +02:00
Andrew Karpow
25d54f68d6 drop privliges after port binding, fixes #12 2014-04-23 12:22:31 +02:00
engine
d5f4394a40 increased mpd timeout to 10 seconds
Signed-off-by: Andrew Karpow <andy@ndyk.de>
2014-03-31 16:19:47 +02:00
othmar52
dcb489d764 bugfix timeout when using the searchfield
Signed-off-by: Andrew Karpow <andy@ndyk.de>
2014-03-31 16:19:39 +02:00
Andrew Karpow
14e807850c Merge branch 'mongoose' 2014-03-18 01:30:01 +01:00
Andrew Karpow
b75dadf7a9 removed perl generator, added c generator 2014-03-08 20:32:54 +01:00