Commit Graph

7 Commits

Author SHA1 Message Date
Maurice O'Neal
c3ec7e7085 made better use of Ui::trayActivated() so it can not only display the
context menu, it will also show the app when double clicked.
AudFile::getDuration() and AudFile::duration() can now calculate the
length of the audio based on the rate at which QMediaPlayer calls
AudFile::seek() and the amount of data it pulls at a time. it converts
that time internally to a string, where it is then used to display on
Ui::timeDisp. i've also modified the minimize to tray function as a
feasure that can be turned on/off within Conf and added the needed check
box to the config menu.
2016-10-25 20:00:33 -04:00
Maurice ONeal
2fa5bc7bf3 README.md edited 2016-10-24 01:29:47 +00:00
Maurice O'Neal
679fc61feb I've updated the icons to a new hallow outline transparent look. added
stop, next file, previous file buttons along with the added feasures the
buttons represent. i've also added png versions of all of the icons just
in case the svg versions are not practical to use. i also fully built
out a tray icon functionality so the application can now minimize to
system tray. also updated the app logo to a new flat icon type sinewave
look. then finally, i've added the restore button to the tray icon so it
will restore the window back in front from the tray.
2016-10-23 21:26:58 -04:00
Maurice ONeal
d436c4545d README.md edited online with Bitbucket 2016-10-16 21:52:46 +00:00
Maurice O'Neal
73a8c03fa1 Added a logo to the project and changed the "settings" button to "menu"
and added some options to the menu that changes the behaviour of the
app. such as turning on/off the auto playing of files and the directory
and volume control. this is all kept persistent using an IDM formated
file in the app's config directory. still having issues with it not
calculating the durations properly but i now know why. it's because
QMediaPlayer can't calculate the durations of VBR files (variable bit-
rate) properly. other than that, everything seems to be working
perfectly. i'll add more feasures such as a next/previous file button
and a stop button.
2016-10-16 17:04:21 -04:00
Maurice O'Neal
10e5af0588 I've fully written out code for the base of the app and tested to to be
working, also added svg icons to the user interface. the settings button
currently does nothing (still work in progress). during testing, i
discovered QMediaPlayer would have trouble playing some music files that
have an ID3 tag so AudFile was created as a way to read the size of the
ID3 tag and step over it when QMediaPlayer reads from the file. although
it fixed the playback issue, QMediaPlayer is now having trouble
calculating the duration properly without the tag. i already have a
solution to the porblem in mind, more to come in the next commit.
2016-10-10 13:29:41 -04:00
Maurice O'Neal
455723cede 1st commit for this project. current work in progress is to get the
basic skelton for all classes setup and then i will fill in all code
later, it's not compilable at this time.
2016-10-03 00:47:02 -04:00