| Summary: | Noatun should remember play status in between sessions | ||
|---|---|---|---|
| Product: | [Unmaintained] noatun | Reporter: | Jose Hernandez <code> |
| Component: | general | Assignee: | Charles Samuels <charles> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | kynes |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | fixes the described bug/wish | ||
|
Description
Jose Hernandez
2004-01-11 06:54:56 UTC
*** Bug 53001 has been marked as a duplicate of this bug. *** I've been experiencing this behaviour for as long as I can remember. The song it plays always seems to be the last one in the playlist (then it stops). Created attachment 7666 [details]
fixes the described bug/wish
The attached patch adds a buttongroup to the general prefs widget where you can
choose from three options:
Restore playing state
Play file on startup
Don't play file on startup
The functionality is implemented too.
Felix Berger
int NoatunApp::startupPlayMode() const
{
KConfig* config = KGlobal::config();
config->setGroup("");
return config->readNumEntry("StartupPlayMode", autoPlay() ? Play : Restore);
}
This incorporates the old option when upgrading noatun.
CVS commit by charles: Patch by Felix Berger <bflat1@gmx.net> The attached patch adds a buttongroup to the general prefs widget where you can choose from three options: Restore playing state Play file on startup Don't play file on startup Thanks Felix! CCMAIL:72361-done@bugs.kde.org M +56 -1 app.cpp 1.32 M +26 -7 cmodule.cpp 1.71 M +3 -1 cmodule.h 1.31 M +23 -1 noatun/app.h 1.27 |