diff options
Diffstat (limited to 'muggle-plugin/muggle.c')
-rw-r--r-- | muggle-plugin/muggle.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/muggle-plugin/muggle.c b/muggle-plugin/muggle.c index 76542c5..d1bfed3 100644 --- a/muggle-plugin/muggle.c +++ b/muggle-plugin/muggle.c @@ -59,6 +59,11 @@ mgMuggle::mgMuggle(void) mgMuggle::~mgMuggle() { // Clean up after yourself! + // save current playlist as "current" and it will be retrieved at the next startup + if( m_playlist ) + { + m_playlist->storeAs( "current" ); + } } const char *mgMuggle::CommandLineHelp(void) |