Commit Graph

135 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
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
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
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
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
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
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
jcass
420a545121 fix:Ensure that title headings always start with uppercase. 2016-02-06 12:27:49 +02:00
wagamama
2e874b2f99 Split out and update vendor libraries. 2016-02-05 08:19:45 +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
a9b7b3febd Added changelog entry 2016-02-04 13:52:27 +00:00
jcass
6772e42e2b fix:Align layout and features of 'Search' pane with rest of the web client. 2016-02-04 14:00:24 +02:00
Nick Steel
d89731fea7 Reminded to remove streamUris upgrade functionality later. 2016-02-04 01:38:51 +00:00
Nick Steel
97c8817335 Gracefully handle a disabled m3u extension. 2016-02-04 01:33:45 +00:00
Nick Steel
8075bc3a0e Also show convert button when Favourites playlist is empty.
Will not show convert button if m3u playlists are disabled.
2016-02-04 00:00:55 +00:00
Nick Steel
3ecb4f65d3 Handle unresolvable streams gracefully and don't comvert automatically. 2016-02-03 23:33:17 +00:00
Nick Steel
45a9c4522a Upgrade cookie-based streamuris to m3u playlist. (Fixes #146). 2016-02-01 00:12:26 +00:00
jcass
4ec547a66a Refactor URI lookup routines. 2016-01-31 17:34:45 +02:00