Commit Graph

69 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
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
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
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
1fadf39b85 Fix variable name capitalization. 2016-02-13 13:33:09 +02:00
Nick Steel
a9b7b3febd Added changelog entry 2016-02-04 13:52:27 +00: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
a81a3ac1d8 fix:Replace calls containing deprecated 'uri' parameter of core.LibraryController.lookup(). 2016-01-31 08:17:56 +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
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
Nick Steel
318a9763f2 Lookup playlist data consistently 2016-01-18 23:00:21 +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
dmosen
aa7b0a59da Fixed behavior of play now/next on empty tracklist
removed getTracks() call
2015-11-09 19:48:50 +00:00
Nick Steel
4e8856f4f3 Merge pull request #117 from DavisNT/feature/RefreshPlaylists
Feature refresh playlists
2015-10-11 23:07:00 +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
7bad3ee89b Use mopidy v1.0 uris param when adding to tracklist.
Stop using deprecated tracks parameter when manipulating the
tracklist and use lightweight uris instead. (Fixes #111).
2015-10-04 14:09:16 +01:00
Davis Mosenkovs
896ec8afde Add refresh button for playlists 2015-07-12 02:15:31 +03: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
Nick Steel
ab59c7be00 Merge branch 'DavisNT-feature/SavePlaylist' into develop 2015-06-17 21:27:41 +01:00
Davis Mosenkovs
2b4c670ec3 Added ability to save Queue as local Playlist 2015-06-17 21:05:57 +01:00
Nick Steel
eb58e743d8 Treat streams same as everything else in playBrowsedTracks
Fixes #98
2015-04-24 00:13:37 +01:00
Nick Steel
a8ef6c43b1 Don't want for tracklist clear response in playBrowsedTracks 2015-04-24 00:11:39 +01:00
Nick Steel
bf0ad63317 Tidied up playBrowsedTracks 2015-04-14 23:29:47 +01:00
Nick Steel
a2c78c491e Merge pull request #94 from wagamama/long-wait
Maintain local copy of browsed tracks.
2015-04-12 18:36:36 +01:00
Nick Steel
2c2e9776b7 Consolidate common code into getNowPlayingTlid. 2015-04-12 18:10:09 +01:00
wagamama
b4a780ad5a Keep track of browsing tracks
Store browsing tracks in global "browseTracks" for playing all tracks
2015-04-11 13:14:31 +08:00