Drew Weymouth
74c0c01268
add ellipsis to Download menu item
2023-06-20 09:37:56 -07:00
natilou
225d439729
wrapping functions in a goroutine and adding OnDownload handler to the playlist grid view
2023-06-20 13:24:37 -03:00
natilou
0dfbe685e1
Ability to download from grid
...
- Adding the option to download the album or tracks in grid view from Artist and Album pages.
2023-06-20 12:35:59 -03:00
Drew Weymouth
a324177fef
adjust layout of aux controls
2023-06-19 19:22:47 -07:00
Michael Manganiello
13f0692566
Move loop button to auxiliary controls, change button color on toggle
2023-06-18 22:45:09 -03:00
Michael Manganiello
7161dd40a9
Reduce direct dependency on Player even more
2023-06-18 22:45:05 -03:00
Michael Manganiello
4629ede7a7
Interface BottomPanel through PlaybackManager to reduce direct dependency on Player
2023-06-18 22:43:03 -03:00
Michael Manganiello
2ab19f65e1
Add Loop functionality to player controls
...
Adding the Loop functionality, along with the Player changes to support
it, and a button to the player controls.
`Player` now has a `loopMode` attribute, which determines whether it
should loop. At the moment, only the following modes are supported:
* `LoopNone`: Disables loop.
* `LoopAll`: Enables loop for the entire playlist queue.
This has been designed as an enum, to support other modes in the future
(e.g. loop for the current track only).
It depends on the `loop` functionality provided by MPV (using the
[`loop-playlist` option](https://mpv.io/manual/master/#options-loop-playlist )),
so no custom logic is needed to reset the currently playing index.
2023-06-18 22:43:03 -03:00
natilou
b4ab95f5b4
Ability to download album and playlist
...
Add in the "meatball menu" of the Album and Playlist pages the option to
download the tracks of the corresponding album or playlist in a zip file.
When download is clicked, a dialog window appears allowing you to choose
the file name and where to save the file.
2023-06-17 02:18:08 -03:00
natilou
b1a266d217
using filepath.Base(track.FilePath) for fileName
2023-06-16 11:42:57 -03:00
Drew Weymouth
701001121f
add nil check around OnDownload call
2023-06-15 21:01:52 -07:00
natilou
15a63681de
Implementing downloading multiple tracks into a single zip file, changing callback signature
2023-06-15 22:16:46 -03:00
natilou
f190aaf732
Ability to download tracks
...
- Adding the option to download the selected track or tracks.
When the download is clicked it opens a dialog that lets you choose where
you want to save the track and the file name (by default
the file name is the track number, the track name and the extension, example "03 - my song.mp3")
If there are many tracks selected it will open one dialog for each track
- Next steps: download an album and a playlist using zip
2023-06-15 10:12:53 -03:00
Michael Manganiello
7b15fe95e4
Use GridWrap from fyne-x
...
With https://github.com/fyne-io/fyne-x/pull/56 merged, the local
implementation can be removed to rely on the upstream version.
2023-06-14 22:08:01 -07:00
Michael Manganiello
39b17abd7d
Fix typo on NewTappableIcon function
2023-06-12 18:45:21 -07:00
Michael Manganiello
c19edccf80
Temporarily add tappable behavior to seekbar slider until Fyne 2.4 ( #188 )
...
Same code as
https://github.com/dweymouth/supersonic/commit/a9cec173ddcd0999cfbe7f61ca15c01bd3c1cbce ,
but for the volume slider.
Related issue: #95
2023-06-10 14:57:38 -07:00
natilou
5bbe3aa262
Added home icon in BrowsingPane
...
- Added the home icon
- Added and implemented `GoHome()`
2023-06-10 14:37:06 -03:00
Drew Weymouth
8bd5ca3894
avoid unnecessary status line refreshes
2023-06-05 09:08:02 -07:00
Drew Weymouth
fedb9fd70d
add status line with media info to bottom of now playing page
2023-06-05 08:55:35 -07:00
Drew Weymouth
17f9370e0a
renumber correctly after removing tracks from playlist
2023-06-03 08:40:49 -07:00
Drew Weymouth
f17c48efa0
rm unused listselectionmanager
2023-06-02 17:43:56 -07:00
Drew Weymouth
b64dcdcc0b
fix tracklist selection being maintained when sorting
2023-06-02 17:43:22 -07:00
Drew Weymouth
8b238fd239
fix missing icon in album grid cover placeholder
2023-06-02 08:38:22 -07:00
Drew Weymouth
066be7bb8d
fix artist page favorite button state
2023-05-28 14:16:30 -07:00
Drew Weymouth
1908b03e73
make sure placeholder image has Fastest scale mode if requested
2023-05-28 14:12:03 -07:00
Drew Weymouth
831f5f56c7
prevent clicking track row separator from resetting selection
2023-05-27 10:30:55 -07:00
Drew Weymouth
0d6bed8294
Fix #176 : searching genres list works again
2023-05-27 09:17:28 -07:00
Drew Weymouth
7a77a77569
Playlist page - show track's original position in playlist for # column
2023-05-24 14:43:44 -07:00
Drew Weymouth
65f0fd8670
make primary link in GridViewItem bold
2023-05-24 11:18:58 -07:00
Drew Weymouth
289aa56f7f
fix merge: re-disable sorting on genres page
2023-05-24 09:27:01 -07:00
Drew Weymouth
eafdae661b
fix merge
2023-05-24 09:20:36 -07:00
Drew Weymouth
e95474d0d0
Merge branch 'main' into feature/sort-tracklist-cols
2023-05-24 09:18:59 -07:00
Drew Weymouth
572a2e511d
reorder playlist tracks based on original sort and switch to unsorted view
2023-05-24 09:11:50 -07:00
Drew Weymouth
f29570b1b0
one more VSCode refactor clean up
2023-05-23 19:21:43 -07:00
Drew Weymouth
1e40465c94
remove extra padding around artist grid view
2023-05-23 19:19:45 -07:00
Drew Weymouth
20f950f508
rename func
2023-05-23 19:16:13 -07:00
Drew Weymouth
dfbbc2ffe0
get rid of debug print and unused func
2023-05-23 19:09:00 -07:00
Drew Weymouth
e95cefd3ce
fix messy VSCode refactor
2023-05-23 19:05:52 -07:00
Drew Weymouth
c5b8e0e3f7
fix tap events for gridview
2023-05-23 19:03:44 -07:00
Drew Weymouth
90936c086d
switch favorite artists view to grid
2023-05-23 18:35:34 -07:00
Drew Weymouth
de7a16639e
switch GridView to icon placeholder
2023-05-23 17:35:26 -07:00
Drew Weymouth
5acd9dd37f
switch artists page to grid view
2023-05-23 17:21:48 -07:00
Drew Weymouth
8bf9f20b8e
add center alignment option to list columns
2023-05-23 14:24:02 -07:00
Drew Weymouth
bd7388fbf2
properly restore tracklist sort in artist page
2023-05-23 12:59:06 -07:00
Drew Weymouth
71ce5043b7
refactor a bit and have tracklist respond to set sorting calls
2023-05-23 11:10:43 -07:00
Drew Weymouth
84e1f01a68
add saving of tracklist sort in browsing history - but need to handle it Tracklist widget still
2023-05-23 11:10:43 -07:00
Drew Weymouth
137e0334e0
add disabling of sorting where appropriate
2023-05-23 11:10:43 -07:00
Drew Weymouth
1f3559de43
add tracklist sorting logic
2023-05-23 11:10:43 -07:00
Drew Weymouth
e434b55dda
add tapped handler for changing column sort
2023-05-23 11:10:43 -07:00
Drew Weymouth
0d02c1fe9d
layout fixes and upgrades, add list hdr sort icon
2023-05-23 11:10:43 -07:00