Description: With this little script you can move files or whole directories without loosing your AmaroK statistics (playcounter, score, etc.). Cached lyrics are also preserved.
It also works with audio files which are not yet in your collection (f.ex. download folder).
Tested with AmaroK 1.4 and Sqlite database, should work with MySQL and PostgreSQL too.Last changelog:
0.2 - Cached Lyrics are also preserved - Added possibility to rename a directory
Hi!
First of all: thanks for writing this script. I recently moved files and lost a lot of ratings, which was kind of annoying.
Little suggestion: how about adding the possibility to rename and move files from the left sidebar menu (where context, playlists and that stuff are placed)? Or did I miss something in your script...?
Thanks again!
hi,
thanks for your input.
i currently plan to rewrite the whole script, that it can be used as a servicemenu (actions->...).
there isn't a good reason why this should be an amarok script, because normally filesystem administration (moving, renaming, etc.) is done in konqueror.
the rewrite will be done in ruby and should get rid of the fat32 issues too.
Do you mean moving files in the left-sidebar doesn't need to be since one could do that in konqueror as well? I think it'd be convenient to have that in amarok. You wouldn't need to switch programs and not everybody uses the konqueror. :)
Well, I am looking forward to your changes. Keep us posted! And keep it going with the good work!
I have not succeeded as well in moving files with db-data preserved to a fat32-partition. Here are the behaviors of organizing features to FAT32 on amarok 1.4.3:
The built-in organize feature just makes a copy without the db-data where I specify - useless! I thought this would change it, but as for now, all this script does is to move the file. It does not preserve the db-data at all, and it has one weakness over the built-in feature - the collection is not updated directly with the new file as the built-in does!
It is a good idea but needs refining. Keep up the good work!
can't get it to move files to my fat32 partition(elsewhere it works fine). I have permissions, and can add/delete files/tags to it normally. All it does is copy(not move) the first file. Any ideas?
Using amarok 1.4.0
Mandriva 2006 free.
Thanks.
It seems to be a permissions issue.
I've got it working fine now, i think the two directories have to have the exact permissions, not just be readable by the user.
Ratings & Comments
9 Comments
Hi! First of all: thanks for writing this script. I recently moved files and lost a lot of ratings, which was kind of annoying. Little suggestion: how about adding the possibility to rename and move files from the left sidebar menu (where context, playlists and that stuff are placed)? Or did I miss something in your script...? Thanks again!
hi, thanks for your input. i currently plan to rewrite the whole script, that it can be used as a servicemenu (actions->...). there isn't a good reason why this should be an amarok script, because normally filesystem administration (moving, renaming, etc.) is done in konqueror. the rewrite will be done in ruby and should get rid of the fat32 issues too.
Do you mean moving files in the left-sidebar doesn't need to be since one could do that in konqueror as well? I think it'd be convenient to have that in amarok. You wouldn't need to switch programs and not everybody uses the konqueror. :) Well, I am looking forward to your changes. Keep us posted! And keep it going with the good work!
I have not succeeded as well in moving files with db-data preserved to a fat32-partition. Here are the behaviors of organizing features to FAT32 on amarok 1.4.3: The built-in organize feature just makes a copy without the db-data where I specify - useless! I thought this would change it, but as for now, all this script does is to move the file. It does not preserve the db-data at all, and it has one weakness over the built-in feature - the collection is not updated directly with the new file as the built-in does! It is a good idea but needs refining. Keep up the good work!
can't get it to move files to my fat32 partition(elsewhere it works fine). I have permissions, and can add/delete files/tags to it normally. All it does is copy(not move) the first file. Any ideas? Using amarok 1.4.0 Mandriva 2006 free. Thanks.
It seems to be a permissions issue. I've got it working fine now, i think the two directories have to have the exact permissions, not just be readable by the user.
it would be nice if this script also update the cached lyric urls on the database. it doesn't do that currently.
Good Idea, I'll take a look at this.
A good companion to go with the built in file organisation :D