Bug 195772 - allow to load playlists rather than having to re-add the songs one by one
Summary: allow to load playlists rather than having to re-add the songs one by one
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Generic-Presentation (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-09 14:29 UTC by S. Burmeister
Modified: 2018-03-23 11:28 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 0.6.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description S. Burmeister 2009-06-09 14:29:11 UTC
Version:           0.3.0 (using KDE 4.2.4)
OS:                Linux
Installed from:    SuSE RPMs

Currently the user has to re-add every song to the soundtrack after one quit digikam.

At a minimum it should be possible to save/load playlists which would save a lot of time.

It would be best IMHO if it would be possible to save the soundtrack per folder/album as well. That way the album "summer holiday 2007" will always have its soundtrack while "christmas 2008" has another one and the user does not have to re-load them each time.
Comment 1 Andi Clemens 2009-07-25 22:39:45 UTC
SVN commit 1002384 by aclemens:

First attempt to implement this feature:
Remember the soundtrack of the current album if the setting in the
soundtrack page is set.

If set:
- save playlist on exit in kipirc
- load playlist when plugin is started and the playlist exists for
the current album

If not set:
- do not save the settings (old playlist entries are kept in the
  config file)
- do not load playlist on startup (sure :-))

If you re-enable the option and an old playlist entry is found for
the current album, the playlist gets loaded again.

What do you think?
Is this good enough?

CCBUG:195772

 M  +36 -35    common.cpp  
 M  +1 -0      common.h  
 M  +45 -11    slideshowconfig.cpp  
 M  +16 -12    soundtrackdialog.cpp  
 M  +106 -98   soundtrackdialog.ui  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1002384
Comment 2 Andi Clemens 2009-07-26 02:25:53 UTC
SVN commit 1002438 by aclemens:

Add methods to load, save and clear the playlist.
A playlist layout can now be loaded and saved, if it is needed in more
then one slideshow.
If "Remember Playlist" is set, a playlist associated with the current
album will be reloaded automatically.

BUG:195772

 M  +124 -10   soundtrackdialog.cpp  
 M  +3 -0      soundtrackdialog.h  
 M  +94 -2     soundtrackdialog.ui  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1002438
Comment 3 S. Burmeister 2009-07-28 10:57:24 UTC
Works fine, thanks! Is there a reason not to use the common m3u plalyist format, i.e. enable  the user to load a playlist he created with e.g. amarok?
Comment 4 Andi Clemens 2009-07-28 11:00:48 UTC
The software I tested had only relative paths in the m3u playlist file, but I will take another look at amarok later. I'm very busy today, but in the evening I will have more time.
If m3u normally saves full paths, then there is no reason not to use it :-)

Andi
Comment 5 S. Burmeister 2009-07-28 11:08:12 UTC
m3us can contain both. In the 1.4 amarok there was a setting the defined what kind of paths amarok uses. Not sure about amarok2.