Summary: | Cannot save playlist on disk | ||
---|---|---|---|
Product: | [Applications] amarok | Reporter: | Dmitry <dmitry.risenberg> |
Component: | Playlists/Saved Playlists | Assignee: | Amarok Developers <amarok-bugs-dist> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bart.cerneels, shaddowy2 |
Priority: | NOR | Keywords: | regression, release_blocker |
Version: | 2.5-git | ||
Target Milestone: | 2.6 | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 2.6 |
Description
Dmitry
2012-01-01 13:59:06 UTC
Indeed, this is a regression persisting in Amarok 2.5, it is no longer possible to save to disk. I can't reproduce the problem on v2.5.0-105-g8d103cf. Assume closed. Definitely reproducible here, latest git build. Let's analyze this a bit. 1) If you save to disk, then restart. Does the playlist show up. Start with an empty saved playlist section to test. 2) is the folder $KDEHOME/share/apps/amarok/playlists/ writeable? 3) disk full? I'm guessing the file actually gets saved if 2 and 3 are positive and that this is just a view bug. Started working after upgrading to Amarok 2.5 and KDE 4.8.0, the playlist appears in $KDEHOME/share/apps/amarok/playlists/ It still doesn't work for me. Amarok 2.5, KDE 4.8. 2.) The folder has rwx rights for the owner and owner-group, r-x for misc. 3.) Plenty of disk space, around 80 gb. Deleted all saved playlists (both database and disk) and the actual playlist. Restarted Amarok. Added some songs to the playlist. Pressed long the button to save to disk. Multiple times. Nothing happens. The folder stays empty. Press short to save playlist to database. Works as expected. Right before sending my comment I played around further and once it was possible to save to disk, even multiple times. One amarok restart later it didn't work again. Tried several times, never happened again :( How can I help to debug the problem? Same for me, still reproducible, plenty of disk space, all permissions OK, doesn't show up on restart. (In reply to comment #7) > Same for me, still reproducible, plenty of disk space, all permissions OK, > doesn't show up on restart. kdelibs and Qt version? Anything else special (like $KDEHOME) My versions: kdelibs: 4.8.0-0ubuntu1~oneiric1~ppa1 Libqt: 4.7.4-0ubuntu8.1 My KDE files are stored at /home/daniel/.kde/, e.g. /home/daniel/.kde/share/apps/amarok. That should be the default path I think? KDE 4.8, Qt 4.7.4, Amarok 2.5-git, git log commit c0fd29ef835b9fa904ec462ad7327e03638ec3d0 Author: Script Kiddy <scripty@kde.org> Date: Fri Feb 10 09:52:25 2012 +0100 Saved to disk, updated collection, restarted Amarok, the playlist never shows in the saved on disk section. (In reply to comment #10) > KDE 4.8, Qt 4.7.4, Amarok 2.5-git, > git log commit c0fd29ef835b9fa904ec462ad7327e03638ec3d0 > Author: Script Kiddy <scripty@kde.org> > Date: Fri Feb 10 09:52:25 2012 +0100 > > Saved to disk, updated collection, restarted Amarok, the playlist never shows > in the saved on disk section. Is the file present in $KDEHOME/share/apps/amarok/playlists? If there are some, clear them, start Amarok and check after saving. That folder is empty and remains empty even after saving and restarting. Permissions are 700 by default, even changing to 777 doesn't change the problem. Apparently Amarok doesn't write to that folder at all. Git commit cb78122a2d18833c4ec3a04a01664cbda649240f by Matěj Laitl. Committed on 03/03/2012 at 16:03. Pushed by laitl into branch 'master'. Allow saving of file playlists with a dot in name BUGFIXES: * Playlists with a dot in name can now be saved to Playlist Files on Disk. FIXED-IN: 2.6 M +1 -0 ChangeLog M +9 -16 src/playlistmanager/file/PlaylistFileProvider.cpp M +0 -1 src/playlistmanager/file/PlaylistFileProvider.h http://commits.kde.org/amarok/cb78122a2d18833c4ec3a04a01664cbda649240f |