| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
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...
|
|
|
|
| |
Also add a dummy slot that does nothing yet.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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 the position of the selected file (left or right of the view) by
unicode sign 0x26a5 on the respective side.
|
|
|
|
|
| |
either left or right. Worked immediately. There have to be subtle bugs
or something. Cannot believe that it's bug free!
|
|
|
|
| |
Implement function for displaying file info from TagLib.
|
|
|
|
|
| |
Create separate displays for selected on the database side and the
playlist side.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Use a QTimer to prevent the messages to pile up on every volume change.
Only show it when the timer isn't running. The timeout value of 500msecs
is totally arbitrary.
The mStarting thingy prevents showing the message twice while
constructing (setupGui and readSettings).
|
|
|
|
| |
It was kinda useless, didn't work out, sorry, ToolWindow :)
|
| |
|
|
|
|
|
|
|
|
|
| |
When we play a new song, get paused, continue and change volume.
The hardest part was to display the QWidget on the current desktop.
Turns out KWindowSystem and Qt::ToolWindow don't work together well...
I should post that on my blog, I guess...
|
|
|
|
|
|
|
|
| |
Quite some code churn, but I like the idea that wrong connections are
compile time errors.
Since I had to get rid of default arguments in Slots, this simplified
things in doPopulateByFolder...
|
|
|
|
| |
Don't delete the parent directory recursively when deleting files...
|
|
|
|
|
|
| |
CTRL++ -> select pattern
CTRL+- -> deselect all
Delete -> Delete selected files
|
| |
|
|
|
|
| |
Adding QSystemTrayIcon actually changed that behavior...
|
|
|
|
| |
Otherwise it won't advance to the next song...
|
| |
|
|
|
|
|
| |
Hell, this was much harder than it should be. The API documentation is
crap and I didn't find a single decent example with my google foo!
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Stop the dance in setDuration. Get rid of the function and use
TagLib::File::AudioProperties in play() to set it.
|
|
|
|
| |
The infrastructure was there, just not used...
|
|
|
|
|
| |
Display the appropriate status in statusBar. Don't use
QMediaPlayer::State, but QMediaStatus::MediaStatus to signal EOF.
|
|
|
|
|
| |
Print a statusbar message when the playlist is empty. If it isn't empty,
but nothing is selected, select the first entry and play it.
|
|
|
|
|
|
|
|
| |
Display in statusBar:
* viewMode
* number of files in playlist
* length of playlist in h:m:s
* player status (Stopped, Playing, Paused)
|
|
|
|
| |
Kinda works, but expect unexpected bugs :)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sounds easy, right? It is, if you don't try to create a QIcon from a
QChar. That took me a while...
First, it's not a good idea to fill the QPixmap for the QIcon with
transparency. That gives you a random background. Fill it with palette
color instead.
Then there's QFont's pixelSize(). I have absolutely no idea how it
corresponds to the pixmap's size, but roughly double the width of the
pixmap is a good guess...
|
| |
|
|
|
|
| |
It's no notepad...
|
| |
|
| |
|
|
|
|
|
| |
The player is a strange beast. Calculate the duration after the new song
has been triggered. The results were more or less randon, I guess...
|
| |
|
|
|
|
| |
Show VA if there are more than 1 artists, otherwise the artist's name.
|
|
|
|
|
|
|
|
|
| |
* view by artist (already there)
* view by album
* view by song
* view by genre
Doesn't work as expected, so it's likely gonna change soon.
|
|
|
|
|
|
|
| |
The QPushButtons took too much real estate, so turn them into QActions
in a Toolbar.
Also rename mFilter to the more appropriate mSearch.
|
|
|
|
| |
Also return after setting the view back to artists.
|
|
|
|
|
|
| |
Add icons for genres, songs, albums and artists. As it turns out, you
really should use the copy constructor of QIcon. Speeds up things
considerably!
|
| |
|