Commit Graph

196 Commits

Author SHA1 Message Date
jcass
4474658d39 Reduce number of DOM manipulations to improve performance. 2016-04-27 10:27:15 +02:00
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
9e4793b14d Workaround for https://github.com/adamcik/media-progress-timer/issues/3
Ensure that timer.js will keep on running until stopped explicitly by MMW.
2016-04-12 08:42:37 +02:00
jcass
f43a9a7afa Optimise progress timer callback. 2016-04-06 19:02:10 +02:00
jcass
1345357a5e Modularise and test setting of jQuery Mobile config options. 2016-04-03 16:06:25 +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
7944acecb9 Add missing object literal reference that was missed during merge. 2016-03-16 21:54:49 +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
Nick Steel
81948a0545 Bump version and release date 2016-03-01 20:39:55 +00: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
ae759f6ab8 Fix spacing. 2016-02-29 19:21:16 +02:00
jcass
37f844ecf5 Linter cleanup of css and html files. 2016-02-29 19:14:37 +02:00
jcass
70818dce65 fix:Ensure that song information is reset on all panes. 2016-02-28 18:53:20 +02:00
jcass
a9630a21b5 Fix, prevent timer from 'dying' if position > duration. 2016-02-28 08:40:23 +02:00
jcass
34e2abf612 Bundle vendorized copy of Mopidy.js.
Fixes #175.
2016-02-23 07:14:51 +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
7d680fe252 Only push album cover if more than one tracks are being shown for an album. 2016-02-21 20:14:39 +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
17c8920d69 Remove unused icon. 2016-02-18 13:03:45 +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
97562e4844 Remove reference to non-existent favicon. 2016-02-18 11:42:56 +02:00
jcass
f1dd93fa92 Remove trademarked startup image. 2016-02-18 11:40:38 +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
f59f6b9744 Remove duplicate CSS definitions. 2016-02-18 06:39:30 +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
756095c5ff Remove unused global variables. 2016-02-15 17:59:49 +02:00
jcass
c39d03335c Tweak timer display to show song duration as early as possible.
Also initializes timers to '' instead of '0:00' - more consistent behaviour between streams and tracks.
2016-02-15 09:10:39 +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
4dfa60987b Update manifest file. 2016-02-14 17:15:07 +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
1fadf39b85 Fix variable name capitalization. 2016-02-13 13:33:09 +02:00
Nick Steel
28c8cc6113 Merge branch 'fix/157_landscape_screen_scaling' of https://github.com/jcass77/Mopidy-MusicBox-Webclient into jcass77-fix/157_landscape_screen_scaling 2016-02-08 19:33:11 +00:00
jcass
420a545121 fix:Ensure that title headings always start with uppercase. 2016-02-06 12:27:49 +02:00