Commit Graph

231 Commits

Author SHA1 Message Date
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
wagamama
ae72b09f29 fix:Prevent mobile devices from scaling up when in landscape mode.
Fixes #157.
2016-02-05 08:26:47 +02:00
wagamama
2e874b2f99 Split out and update vendor libraries. 2016-02-05 08:19:45 +02:00
jcass
1712b0eb99 Increment version number. 2016-02-04 22:25:05 +02:00
jcass
ad4757d979 fix:Fix CSS typo. 2016-02-04 22:05:08 +02:00
jcass
54e835b623 fix:Replace jquery.truncate.js with text-overflow: ellipses. 2016-02-04 21:46:11 +02:00
jcass
7ac7b20ec7 Increment version number for release. 2016-02-04 18:23:59 +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
61aee93ee5 Remove streamuris from manifest. 2016-02-03 23:34:47 +00:00
Nick Steel
3ecb4f65d3 Handle unresolvable streams gracefully and don't comvert automatically. 2016-02-03 23:33:17 +00:00
jcass
895eab0834 docs:Add comment to identify override of slider handle size. 2016-02-03 05:55:41 +02:00
Nick Steel
8477acc322 Update manifest. 2016-02-01 00:14:41 +00:00
Nick Steel
45a9c4522a Upgrade cookie-based streamuris to m3u playlist. (Fixes #146). 2016-02-01 00:12:26 +00:00
jcass
ee928f5841 Refactor volume slider handle attributes.
Move to custom CSS file instead of hard coding change in vendor-provided library.
2016-01-31 17:54:47 +02: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
19363e1476 Merge remote-tracking branch 'upstream/develop' into fix/79_explicit_2
Conflicts:
	README.rst
2016-01-31 06:46:25 +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
19aa4e3cf1 fix:Fix misspelled 'heigth' attributes and incorrect assignment operator.
Reformat file, remove old commented-out sections.
2016-01-31 06:24:49 +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
f5c36d4b20 fix:Update manifest file. 2016-01-30 13:56:04 +02:00
jcass
a9338a6ec8 fix:Use explicit Mopidy.js calling convention. 2016-01-30 13:54:40 +02:00
jcass
4f42d344b0 fix:Simplify CSS to better align with theme's standard presets.
Improves layout of menu and search header buttons.
2016-01-30 13:20:29 +02:00
Nick Steel
04e7f118ac Merge branch 'fix/144_header_text_truncation' of https://github.com/jcass77/Mopidy-MusicBox-Webclient into jcass77-fix/144_header_text_truncation 2016-01-28 19:33:56 +00:00
Nick Steel
0fe5414b33 Setting Mopidy's mute state doesn't need a returned promise. 2016-01-28 19:06:01 +00:00
jcass
80bbada650 fix: remove hard-coded margin in title bar. 2016-01-28 17:25:13 +02:00
jcass
54a10b9737 fix: Remove grid so that more space is available for rendering the title text. Fixes #144. 2016-01-28 16:59:01 +02:00
jcass
2b70308028 Add event handling for 'muteChanged'. 2016-01-27 07:19:23 +02:00
jcass
11482adc75 Update manifest file. 2016-01-27 00:32:24 +02:00
jcass
eea716d8cd Swop mute / un-mute icons back. 2016-01-26 17:42:31 +02:00
jcass
c5cdc670ef Set color of mute buttons to ensure that it is always visible. 2016-01-26 17:39:18 +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
1f45a7f4ac Add lable for mute/un-mute toggle. 2016-01-25 07:50:23 +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
jcass
fb3f8dda3f Fix mute/unmute functionality: now also works if user unmutes by sliding volume manually. 2016-01-24 21:29:32 +02:00
jcass
d1fbeef5ea Remove pause/play images in favor of standardising on fontawesome icons.
Ensure proper alignment of 'normalFooter' and 'nowPlayingFooter' when switching layouts.
2016-01-24 18:29:02 +02:00
jcass
01b4bce7d9 Align height of normalFooter and nowPlayingFooter. 2016-01-24 15:15:08 +02:00
jcass
ee6aa77cb9 Increase button sizes. 2016-01-24 12:20:23 +02:00
jcass
ef9f908add Fix vertical alignment of playback control buttons. 2016-01-24 12:03:54 +02:00
jcass
892e987e44 Update changelog. 2016-01-24 10:01:13 +02:00
jcass
452acccf16 Add back 'FontAwesome.otf'. 2016-01-24 09:45:49 +02:00
jcass
ebe6891ea6 Merge remote-tracking branch 'upstream/develop' into enhance/slider_handle 2016-01-24 09:42:14 +02:00
jcass
b992f4927f Remove unused web elements. Update application cache manifest. 2016-01-24 09:29:45 +02:00
jcass
d5cc790905 Increase size of slider handle by 30%. 2016-01-24 08:16:00 +02:00
Nick Steel
318a9763f2 Lookup playlist data consistently 2016-01-18 23:00:21 +00:00
nsteel
67246cda2f Fixed loading spinner when playlist empty 2015-11-13 12:17:57 +00:00
Nick Steel
24cea6d4be Stop using deprecated getPlaylists API.
Get playlist refs from asList().
Get playlist track refs using getItems().
Must then do a library.lookup() for all tracks since we require album metadata when displaying.
2015-11-12 01:27:55 +00:00
Nick Steel
bace97cc7c Refactor playlist from URI helper function to return tracks. 2015-11-12 01:24:39 +00: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
4087cf9379 Tidied up handling when add by playlist fails.
Constant to define mbw URI scheme and get scheme helper.
2015-11-09 22:25:35 +00:00
Nick Steel
92fe64ba1d Fix play now/next behaviour for generic playTrack method. 2015-11-09 21:47:29 +00:00
Nick Steel
c6feaeb048 Use a more generic maybePlay throughout playBrowsedTracks. 2015-11-09 21:20:04 +00:00