summaryrefslogtreecommitdiffstats
path: root/playerwidget.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Revert "Remove useless disconnect from playUrl"Arno2017-08-271-0/+1
| | | | | | | This reverts commit c687253b9526ee9dda6b26a0fe47655b3778ffa3. As it turns out, the disconnect is actually needed. When selecting another stream, we have multiple connections otherwise.
* Prettify metdata outputArno2017-08-271-9/+22
| | | | Turn stream info into a HTML table and add Metadata to playlist.
* Remove useless disconnect from playUrlArno2017-08-271-1/+0
| | | | That's already done in play(const QString&)...
* Make WebRadio stuff work!Arno2017-08-261-0/+46
| | | | | Display stream Metadata and add songs to playlist. Make sure that nothing happens when you doubleclick on a Webradio song in there.
* Play the doubleClicked urlArno2017-08-261-0/+10
| | | | Shit, it worked on the first attempt!
* Implement dialog for adding WebRadiosArno2017-08-261-0/+18
| | | | Just enter a description and an URL.
* Implement view for WebRadioArno2017-08-261-0/+35
| | | | does nothing yet, doesn't crash, either :)
* Improve MusicBrainz searchArno2017-07-071-14/+27
| | | | | Don't display crap when we don't have a match. Show alternative artists instead, or nothing...
* Be consistent with lower case in playlistArno2017-07-071-4/+8
| | | | | Always add lower case QStrings to playlist. Fixes the Musicbrainz search when the playlist is filled by filesystem.
* Fix about dialogArno2017-07-071-4/+9
| | | | Also bump the version no. to 1.0.0.
* Add shortcut to filter band from PlaylistArno2017-07-061-0/+17
|
* Improve display of MusicBrainz resultArno2017-07-061-7/+7
| | | | | Don't show the release-group id, add links for the artist and the album instead.
* Add artist and album name to ArtistViewArno2017-07-061-0/+3
| | | | We have the data, so use it...
* Improved MusicBrainz lookupArno2017-07-061-3/+7
| | | | | Only show official albums and compilations, no bootlegs. Wow, lambdas are so cool. Now std::predicates are finally useful!
* Implemented MusicBrainz lookupArno2017-07-061-6/+52
| | | | | | | | | | Wow, what a convoluted api, to say the least... They have documentation, which is good, but the query syntax definitely needs more explaining, foremost how to encode non-ASCII characters and names with whitspaces... Well, it kinda works, but the Other Albums sections can be waaaaay off...
* Add context menu entry for MusicBrainzArno2017-07-061-0/+9
| | | | Also add a dummy slot that does nothing yet.
* List files appropriate for musicbrainzArno2017-06-181-10/+28
|
* Expand first layer when searchingArno2017-05-061-0/+6
|
* Adjust searchingArno2017-05-061-5/+17
| | | | | | | | | turns out searching the database is much cheaper than filtering views. For the latter we have to traverse the whole tree up and down to see if the current node is valid. If we have a valid parent, the current node is valid, and so is it when we have a current child...
* Indicate position of selected fileArno2017-05-061-3/+6
| | | | | Indicate the position of the selected file (left or right of the view) by unicode sign 0x26a5 on the respective side.
* Display properties of selectionArno2017-05-051-0/+19
| | | | | either left or right. Worked immediately. There have to be subtle bugs or something. Cannot believe that it's bug free!
* Factor out file infoArno2017-05-051-12/+18
| | | | Implement function for displaying file info from TagLib.
* Add views for selected filesArno2017-05-051-3/+26
| | | | | Create separate displays for selected on the database side and the playlist side.