This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Amarok won't save playlists, playlistbrowser_save.xml says "loading" days later

Tags: None
(comma "," separated)
imarok
Registered Member
Posts
1
Karma
0
I have been using amarok for over a year and have not had any real trouble until now.

I am using 1.4.5 and kde 3.5 on kubuntu

So here is teh trouble.  Playlists I love playlists and all of my music is organized in playlists, I have thousands of them.  The iD3 tags on my songs are not very reliable and so I have my music organized in folders, one for every album.  Artist_Name_Album_title/. Inside you find music files and an m3u that is auto generated when I add new music to the massive music folder Artist_Name_Album_title.m3u. Using a simple bash script I wrote.

#!/bin/bash
BASEDIR=//tmp/music/

if [ "$BASEDIR" == "" ]; then
        echo You must specify a base directory
        exit 1
fi
cd $BASEDIR
#BASEDIR=`pwd`
# Remove existing playlists
find . -iname '*.m3u'|sed -e "s/^/\"/"|sed -e "s/$/\"/"|xargs rm -f

find . -type d |sort| while read -r DIR; do
        cd "$BASEDIR/$DIR"

find . -type f -iname "*.mp3" | sed 's/^\.\///'|sort> "$DIR.m3u"


       
done
________


In Amrok I always use the playlist browser to select music, but a few weeks ago my system's hard drive died and I had to reinstall everything.  luckily my data was backed up but none the less a huge pain.  Since the reinstall amarok refuse to behave as it used to.

I configured amarok so that it would see my music /mnt/mp3 and let it update itself. 

On my old version of amarok this was all I had to do, I think, and the Collection would populate itself and the playlists would also populate themselves in the playlist browser.  When I would add new folders with music and playlists to /mnt/mp3 all I had to do was click update collection and voilla a fwe moments later the collection was updated.  Now everytime I restart amarok it remembers my collection but looses all of the playlists.  The other problem is that it never updates itself.  What am I doing wrong.

I tried to replace /home/user/.kde/share/apps/amarok/playlistbrowser_save.xml with the one I had backed up from my old user and it worked but I could never add any playlists by clicking update, I had to manually add each new playlist by hand.

Huge pain

Lastly I wanted to point out teh way the new playlistbrowser_save.xml looks vs teh old playlistbrowser_save.xml

The new one always says playlist title="Loading Playlist" no matter how long I let it sit there.  Even when I quit nicely I have to start the importing over when I restart amarok and it takes hours

Any ideas?

Thanks



Example new






  0
  0
  1182785018


  0
  0
  1182785017


  0
  0
  1182785016


  0
  0
  1182785016


  0
  0
  1182785015


  0
  0
  1182785015





Example old




 
  5
  3986
  4294967295
 

 
  17
  4440
  4294967295
 

 
  1
  4069
  4294967295
 

  www.torrentazos.com By FEFE2003" file="/raid5/mp3/Z-Trip - Shifting Gears (Advance 2005) - Hip Hop - www.torrentazos.com By FEFE2003/Z-Trip - Shifting Gears (Advance 2005) - Hip Hop - www.torrentazos.com By FEFE2003.m3u" >
  15
  4232
  4294967295
 

 
  20
  4760
  4294967295
 

 
  23
  4643
  4294967295
 

 
  20
  4669
  4294967295
 

 
  16
  4625
  4294967295
 

 
  18
  4322
  4294967295
 



Last edited by imarok on Tue Jun 26, 2007 7:08 pm, edited 1 time in total.
bert1fegg
Registered Member
Posts
1
Karma
0
I have the same problem. I create a playlist, save it, but when I restart Amarok it has disappeared.

I'm using ubuntu feisty and Amarok version 1.4.6 running under gnome.

Amarok seems to remember everything else.
User avatar
markey
KDE Developer
Posts
2286
Karma
3
OS
bert1fegg wrote:I have the same problem. I create a playlist, save it, but when I restart Amarok it has disappeared.

I'm using ubuntu feisty and Amarok version 1.4.6 running under gnome.

Amarok seems to remember everything else.


"Playlist browser forgetting new playlists" is a known bug in 1.4.6:

http://bugs.kde.org/show_bug.cgi?id=147079


--
Mark Kretschmann - Amarok Developer


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot]