summaryrefslogtreecommitdiffstats
path: root/playerwidget.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Always show an existing directoryArno2019-01-191-0/+1
| | | | | | | | | | When the current directory was deleted otherwhere while in CollectionFoldersView, a refresh left the user with no choice at all. Set mCurrentFolder to default (QSetting->folderdir) and say so in the status bar. For the latter add a signal to CollectionWidget and connect it to PlayerWidget::message.
* Fix some clang warningsArno2018-11-241-1/+1
|
* GUI changesArno2018-11-241-14/+24
| | | | | | Play nice with themes, especially dark ones. Most likely the light icons will look crappy with a light theme, but theming support is another thing entirely. Right now I'm using a dark theme, so this is it...
* Implement layout for CopyDialogArno2018-10-131-0/+7
| | | | | | | | Does nothing yet except close. This was harder than it should be: To keep a GridLayout expanding its cells vertically, you have to set the Alignment in the *parent* Layout. Took me a while to figure out...
* Fix conversion issues in PlayerWidgetArno2018-10-131-9/+9
| | | | Clang said so, hope it doesn't bite me in the ass...
* Create keyboard Shortcuts for ViewsArno2018-08-251-9/+9
| | | | In order of the bottom Icons: Alt+1 = Artist, Alt+6 = Folder
* Add delete to CollectionFoldersViewArno2018-08-251-0/+8
|
* Fix tray icon behaviorArno2018-08-151-7/+12
| | | | Make it display the right icon when shortcuts are used.
* Remove leftover qDebug()sArno2018-07-301-1/+0
|
* stop() after last song from playlistArno2018-07-301-0/+2
|
* Minor fixes for WebRadioArno2018-05-111-0/+7
| | | | | | 1. Start playing on doubleClick 2. show the stream in statusBar 3. Clear everything that doesn't belong
* Call randomPlay from BeetPlayer on startupArno2018-05-111-1/+0
| | | | | When calling it from PlayerWidget, not all signals are connected yet, so delay it until we're done.
* Fix logic when we start playingArno2018-05-111-12/+16
| | | | | If nothing is selected in the song view, but it's populated, don't give up early. Select the first one and try to continue.
* Fix songsliderArno2018-02-201-0/+3
| | | | | Got lost in the CollectionWidget-conversion. Advance it if we don't play a stream.
* Implement QAction to fill playlist with favoritesArno2018-02-191-0/+18
|
* Fill playlist on startupArno2018-02-191-0/+1
| | | | | This fixes the corner case that we show as playing when the playlist is actually empty when starting. Should have thought of this earlier :)
* Add "remove from Favorites"Arno2018-02-191-0/+1
| | | | Implemented as a custom action. Works out fine so far :)
* Re-add "add to Favorites" actionArno2018-02-191-0/+24
|
* Trigger stop action afters starting upArno2018-02-181-5/+1
| | | | | | There's a corner case I don't know how to handle: if the playlist is empty and play is clicked, the state will be Playing. Seems very complex to handle that... :(
* Remove add and remove to/from playlist from toolbarArno2018-02-181-4/+0
| | | | The context menu entries are enough...
* Make WebRadios editable againArno2018-02-181-0/+12
|
* Activate WebRadio playlist when selecting WebRadio CollectionArno2018-02-181-6/+17
|
* Add custom handling for WebRadioArno2018-02-181-84/+100
| | | | | | The general QActions make no sense for Webradion. Add a custom Playlist and QActions. New songs from the stream are added for history, but they can't be edited or double clicked.
* Play WebRadio againArno2018-02-181-56/+41
| | | | | | | | | To make this work, remove duplicate Enums from PlayerWidget. Btw, WebRadio was defined twice: as ModelType and as ItemTime, with the former always taking preference. Doesn't really matter, because I think I have to completely revamp the WebRadio handling...
* Add Webradios to Playlist againArno2018-02-181-0/+11
| | | | | Well, they're added, but playing them is another beast. That needs some major revamp, I fear :(
* Add refresh action to each CollectionWidgetArno2018-02-181-0/+8
|
* Implement "Goto album"Arno2018-02-181-4/+25
| | | | | Raise album view and select, center and expand album if found. It's useful for albums with various artists, I hope.
* Re-introduce MusicBrainz searchArno2018-02-181-25/+15
|
* Re-Add Expand and Collapse Actions..Arno2018-02-171-23/+11
| | | | but only if the first child of the root item has children
* 2 Bugfixes:Arno2018-02-171-0/+2
| | | | Trigger QAction for first stacked view and make viewByFoldersA checkable.
* Re-add QActions "Add to playlist (and clear)"Arno2018-02-171-1/+10
|
* Make use of the new CollectionView classesArno2018-02-171-864/+106
| | | | | | This removes pretty much any function. This commit compiles, but it's completely useless. It can't even play a song, but it does display what view we're populating on the splash screen, and the view buttons work :)
* Get rid of Q_FOREACH in playerwidget.cppArno2017-12-311-15/+15
|
* Revamp favoritesArno2017-12-311-14/+7
| | | | | | | | | | | | | | | The previous display of song - album - artist wasn't really a good choice. Artist - album - song is more to my liking. At first I tried to save headers, but that turned out to be much more difficult than expected. First, as it turns out the first column in a QTreeView is not movable by design. Second, having more than one column with the current Model/View design is a pain in the ass. E.g. adding to the playlist always selects column 0, so all relevant data had to be in the decoration column. Much too complicated. So I took the easy way out: Simply format the song title like several columns. Since "courier" is hardcoded as a font it wasn't even a problem to elide the song title in the center. KISS!
* Automatically search Musicbrainz when playing new songArno2017-12-011-0/+1
|
* Improve Musicbrainz searchArno2017-12-011-4/+22
| | | | | If we already have the album, use the release year from the database and indicate presence by different bullets in the list.
* Improve Musicbrainz-SearchArno2017-12-011-6/+13
| | | | | | Filter out Live albums and compilations. Sort the resulting album list by release year. Unfortunately, musicbrainz does not always agree with the release year from the file metadata :(
* Don't stop player after double click on left paneArno2017-10-151-1/+0
| | | | Dunno why it was there in the first place...
* Fix WebRadioDialogArno2017-10-151-11/+4
| | | | Revamp the WebRadio Dialog: Make it possible to delete WebRadios.
* Show URL and Description when selecting WebRadioArno2017-10-151-0/+11
|
* Fix Search and Current Directory GroupboxArno2017-10-151-2/+11
| | | | | | Set ModelType for all views and make the QLineEdit for the current directory readonly instead of disabled. The latter causes the groupbox text to be double underlined for some reason...
* Fix display of FavoritesArno2017-09-221-15/+34
| | | | Looks like one Query is not enough...
* Implement Favorites viewArno2017-09-211-14/+46
| | | | And make it possible to remove songs from favorites!
* Create view for favoritesArno2017-09-211-0/+46
|
* Add FavoritesArno2017-09-211-0/+28
| | | | | | | For now you can only add favorites, no view or removal. On the database side it's kinda awkward. I can't reference a song ID or something, because the DB is cleared on reindexing. So keep artist, song title and album as reference. I'm not yet sure if it's a good idea, though...
* Show URL as a message when streamingArno2017-08-271-0/+1
|
* Set proper tray icon when streamingArno2017-08-271-0/+1
|
* Do nothing on prev and next when streamingArno2017-08-271-0/+3
|
* Elide title in current songArno2017-08-271-2/+10
| | | | Elide the string instead of resizing the layout.
* Fix display issues when streamingArno2017-08-271-3/+17
| | | | | * don't progress song slider * show proper window title and tooltip