Commit Graph

60 Commits

Author SHA1 Message Date
jcass
7daf5a7383 Modularise controls.js. Fixes 124
Make default click action user-configurable. Fixes #133.

Optimise updating of now-playing icons. Fixes #184.
2016-04-27 10:05:24 +02:00
John Cass
3dfbd76a83 * Retrieve album cover and artist images using MusicBrianz ID, if available.
* Retrieve album cover and artist images using MusicBrianz ID, if available.
2016-04-19 17:15:05 +02:00
jcass
9347c7d557 Upgrade media progress timer. Modularise progress_timer.js. 2016-04-03 14:53:41 +02:00
jcass
411a3781fd Combine .js and .py coverage reports.
Remove services that cannot be searched from search dropdown.

Refactoring and additional unit tests.
2016-03-28 06:17:43 +02:00
jcass
db006f6c54 Remember selection of which backend to search.
Fixes #130.
2016-03-19 00:20:27 +02:00
jcass
f8db8be71f Add Javascript test and test coverage frameworks. 2016-03-16 21:10:22 +02:00
jcass
7710d23567 Enhance getjQueryID to handle '#' prefix automatically. 2016-03-16 16:43:27 +02:00
jcass
21f16fb17b fix:Display album / artist information when browsing tracks.
Fixes #99. Fixes #126.
2016-03-16 16:25:52 +02:00
jcass
9c0e1cc56e fix:Don't create Mopidy models manually.
Fixes #172.
2016-03-06 22:51:18 +02:00
jcass
979dc028c7 fox:Manual eslint rule violation fixes. 2016-03-05 15:49:48 +02:00
jcass
168f2c549b fox:Automatic style changes applied by running eslint --fix 2016-03-05 15:11:48 +02:00
jcass
8d9074a733 Add tox environment configuration for linters. 2016-03-05 14:59:22 +02:00
jcass
c5c74d77f4 Implement lint syntax recommendations. 2016-02-29 21:11:10 +02:00
jcass
2596946778 Fix spacing. 2016-02-29 20:59:43 +02:00
jcass
c132f9b5df fix:Replace Javascript dialogs and buttons with jQuery Mobile equivalents.
Use 'm3u' format for saving playlists. Invalidate the playlist cache on refresh or external changes.

Replace links with buttons and text with icons.

Fixes #113. Fixes #173. Fixes #177.
2016-02-29 20:35:32 +02:00
jcass
1db5c9aa8a Linter fixes for Javascript files. 2016-02-29 20:22:30 +02:00
jcass
70818dce65 fix:Ensure that song information is reset on all panes. 2016-02-28 18:53:20 +02:00
jcass
0965f0083e fix:Avoid progress slider from becoming 'stuck' because the timer died unexpectedly.
Also see https://github.com/adamcik/media-progress-timer/issues/3
2016-02-22 22:05:15 +02:00
jcass
5290f81d8c fix:Retrieve album images using new mopidy.library.getImages format.
Fall back to using track artist if album artist is not available.

Fixes #128.
2016-02-18 13:10:21 +02:00
jcass
bd703c975d Display 'Trying to reach Musicbox.' message when initial connection to Mopidy fails.
Rename .manifest to .appcache to align with standards.
2016-02-18 13:01:05 +02:00
jcass
7d7d8951a5 Add event handlers to update text when user exits full screen by pressing 'Esc'. 2016-02-18 11:38:20 +02:00
jcass
7006fd5021 Try to fix 'stuck' elapsed timer when playback starts on the 'Now Playing' page. 2016-02-17 06:46:55 +02:00
jcass
d89673dd56 Updated elapsed time while user is dragging the progress slider.
Also ensure that only one seek event can be triggered at a time.
2016-02-15 19:04:43 +02:00
jcass
4d20b13f51 fix:Disable volume slider change events while user is busy dragging the slider.
Fixes #168.
2016-02-15 07:35:46 +02:00
jcass
0d54984f38 Prevent 'volumeChanged' events from interfering will volume slider being dragged. 2016-02-14 20:25:14 +02:00
jcass
ab5369467b Remove whitespace. 2016-02-14 17:30:57 +02:00
jcass
a1b6cdbea1 fix: remove volume slider timer.
Fixes #162.
2016-02-14 17:29:23 +02:00
jcass
f5e372a70d fix:Avoid polling for current track and time changes.
Fixes #40.
2016-02-14 17:09:40 +02:00
jcass
fd9fe541f6 fix:New full screen toggle scripts. Enables scrolling in full screen mode for Firefox, Chrome, IE, and Safari.
Fixes #53.
2016-02-14 10:25:53 +02:00
jcass
420a545121 fix:Ensure that title headings always start with uppercase. 2016-02-06 12:27:49 +02:00
jcass
54e835b623 fix:Replace jquery.truncate.js with text-overflow: ellipses. 2016-02-04 21:46:11 +02:00
Nick Steel
af0ce8503b Merge branch 'develop' of github.com:pimusicbox/mopidy-musicbox-webclient into develop 2016-02-04 15:59:32 +00:00
jcass
920b60384c fix:Prevent song information text from overlapping the 'Play' button.
Fixes #155.
2016-02-04 17:38:11 +02:00
Nick Steel
97c8817335 Gracefully handle a disabled m3u extension. 2016-02-04 01:33:45 +00:00
jcass
2afe72d6fb Merge remote-tracking branch 'upstream/develop' into fix/79_explicit_2
Conflicts:
	mopidy_musicbox_webclient/static/index.html
	mopidy_musicbox_webclient/static/js/controls.js
	mopidy_musicbox_webclient/static/js/images.js
2016-01-31 08:26:05 +02:00
jcass
d0704e967a docs:Reformat section headers, remove old commented-out code sections.
Fix indentation.
2016-01-31 06:34:30 +02:00
jcass
28a42f40eb fix:Javascript syntax errors. 2016-01-30 15:08:17 +02:00
jcass
a9338a6ec8 fix:Use explicit Mopidy.js calling convention. 2016-01-30 13:54:40 +02:00
jcass
2b70308028 Add event handling for 'muteChanged'. 2016-01-27 07:19:23 +02:00
Nick Steel
c0d89b7437 Fixed displaying stream title updates. 2015-11-09 23:41:34 +00:00
Nick Steel
87ad7fc880 Merge branch 'streamuris-v2' of https://github.com/kingosticks/mopidy-musicbox-webclient into kingosticks-streamuris-v2
Conflicts:
	mopidy_musicbox_webclient/static/js/functionsvars.js
2015-11-09 23:04:54 +00:00
Nick Steel
a5255484d4 Update stream title info and restore adding radio special case. 2015-11-09 22:58:16 +00:00
Nick Steel
ded5192b3b Update track name when stream title changes 2015-10-19 23:45:15 +01:00
Nick Steel
0090699818 User's favourite streams now saved as an m3u playlist. 2015-10-09 01:00:37 +01:00
Nick Steel
ad816350f9 Use a fake 'mbw:' URI scheme for our internal track caches. (Fixes #109).
Better solution is to prevent sending our internal cache URIs to Mopidy in the first place.
Also removed unused customPlaylists.
2015-06-18 00:13:55 +01:00
Davis Mosenkovs
346a6a2e42 Link to Alarm Clock: fix home screen 2015-05-30 02:05:06 +03:00
Davis Mosenkovs
287995110b Add link to Alarm Clock 2015-05-30 01:05:42 +03:00
Nick Steel
b598dbd90d Optional config settings for websocket host and port 2015-04-26 00:38:43 +01:00
wagamama
47b45dffa9 Refine code 2015-03-26 09:42:24 +08:00
wagamama
2440146b42 Merge branch 'develop' into multi-songs
Conflicts:
	mopidy_musicbox_webclient/static/js/gui.js
	mopidy_musicbox_webclient/static/js/process_ws.js
2015-03-22 11:42:53 +08:00