Commit Graph

120 Commits

Author SHA1 Message Date
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
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
a81a3ac1d8 fix:Replace calls containing deprecated 'uri' parameter of core.LibraryController.lookup(). 2016-01-31 08:17:56 +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
02112b8d61 docs:Reformat section headers, remove old commented-out code sections. 2016-01-31 06:26:43 +02:00
jcass
20818b29b2 fix:library.lookup calls. 2016-01-30 15:34:10 +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
Nick Steel
0fe5414b33 Setting Mopidy's mute state doesn't need a returned promise. 2016-01-28 19:06:01 +00:00
jcass
2b70308028 Add event handling for 'muteChanged'. 2016-01-27 07:19:23 +02:00
jcass
eea716d8cd Swop mute / un-mute icons back. 2016-01-26 17:42:31 +02:00
jcass
b103d6a8a6 Rename function to toggle mute. Don't need promise to be returned on Mopidy calls. 2016-01-26 17:27:06 +02:00
jcass
f18a80cc03 Get rid of local variables in checking current slider value. 2016-01-26 16:56:17 +02:00
jcass
d4ed52ac32 Use standard mixer controls to mute / un-mute. 2016-01-26 16:29:56 +02:00
jcass
4bca436000 Refactor volume control and mute/unmute features. 2016-01-25 07:34:56 +02:00
jcass
8cdc547d4e Fix to store current volume on startup. 2016-01-24 21:44:46 +02:00