Warning: session_start(): open(/tmp/sess_f2isj1qhe77pjjksu6b04n7b25, O_RDWR) failed: No space left on device (28) in /www/H01/htdocs/lib/base/lib_base.php on line 280
copyplaylist2 (amaroK script) openDesktop.org
-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    Linux42.org    OpenSkillz.com   
 
Home
Apps
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


-
- Content .- Fans  .- Knowledge Base  . 

copyplaylist2 (amaroK script)

   1.0  

Amarok Script

Score 74%
copyplaylist2 (amaroK script)
zoom


Link:  http://
Downloads:  3439
Submitted:  Mar 21 2005
Updated:  Mar 8 2006

Description:

This small script copies the current playlist to a certain directory.

For use with mobile devices like mp3-players or usb-sticks.
Can also be used to create a tree of directories for CD/DVD archiving.




Changelog:

Changelog:

1.0 (March 8th, 2006)
- configuration preset buttons replaced with user-definable configuration sets
(idea: Juan Ignacio Pumarino)
- integration in amarok context menu, blank->underscore conversion
(idea/code: Todd Sepke)
- on copy error, you can also Skip or Skip All Errors instead of just
aborting the whole copy process
- the playlist is found in arbitrary locations (needed for klik users)
- Tab order fixed, keyboard shortcuts introduced

0.5 (uploaded December 28th, 2005)
- Bugfix: Track number (%N) not available in amarok 1.3 (thanks to Steve Herrel for reporting this defect)
- added new naming component for real directory name of file (%D) and an option to remove leading text from the path name (like /home/songs)

0.4 (October 9th, 2005)
- Two bugfixes:
Script failed if there was only one track on the playlist
Starting Number setting was ignored in the actual file copy process

0.3 (August 24th, 2005)
- Added Qt GUI [Qt is supposed to be installed anyway since amaroK requires it,
only perlqt is needed in addition.]
- Renaming of files is possible with configurable format
- Directory trees are created if the name format contains slashes "/"
- Symlinks / hardlinks can be created as an alternative to copying files
- Size of current playlist is displayed and refreshed on request, allowing user
to fine-tune the playlist size until it fits in the destination directory

0.2a
- Another info dialog in case of not enough free diskspace

0.2
- Checks free disk space and playlist size before it starts to copy
- Shows another dialog with playlist items

0.1
- Initial release




LicenseGPL
(copyplaylist2.amarokscript.tar)
Send to a friend
Subscribe
Other  Content  from mkae
Report inappropriate content



goto page:  1  2 

-

 hmm

 
 by Superstoned on: Mar 21 2005
 
Score 50%

what I am looking for is a way to see the size of files. I have a 512 mb usb mp3 player, and I want to have it full. so I have to copy a bunch of files, hope they'll fit, then try to add as many as I can. If I had some way of knowing how big the files in my playlist where (eg have I reached 512 mb yet or not) then being able to copy all files in my playlist with 1 click (or drag'n'drop) to my usbstick would work. now it doesn't... :(


Reply to this

-

 Re: hmm

 
 by mkae on: Mar 28 2005
 
Score 50%

I think this can only be implemented in amarok itself.
In the 0.2a version of the script you can see the size of the playlist and the free space on the selected device.


Reply to this

-

 Re: Re: hmm

 
 by Superstoned on: Mar 28 2005
 
Score 50%

LOVE!!! :D


Reply to this

-

 script not run

 
 by juanlutz on: May 30 2005
 
Score 50%

Hi,
to run the script seems to be necesary to load some perl modules:

XML::Simple
File::Copy
File::Basename
Filesys::Df

I am user of suse9.1 and was able to load only the fisrt one. Where can I get the rest of these modules? File::Copy, File::Basename and the Filesys::Df

THX for any Support.
Juan_Lutz


Reply to this

-

 Re: script not run

 
 by mkae on: May 31 2005
 
Score 50%

I wrote the script under Debian and got all the perl-stuff from cpan.org. Unfortunately i don't know if there are any packages for SuSE 9.1. E.g.

perl -MCPAN -e 'install Filesys::Df'

might help you.


Reply to this

-

 filen. encoding utf8

 
 by hothead on: Sep 7 2005
 
Score 50%

Hi,
nice skript. But I do have a problem.
My system is utf8 encoded and I do mount my mp3 player with the option iocharset=utf8.
Unfortunately the filename encoding is changed by your skript so every special character (like german umlauts, french accents etc.) gets garbled.
How can that be changed?

Regards

hothead


Reply to this

-

 Re: filen. encoding

 
 by carstenjahn on: Sep 13 2005
 
Score 50%

Hi,
I have to look into this -- I even have the same problem with umlauts.
One umlaut results in TWO "broken" chracters in my filesystem filenames. I suspect that perl uses UTF8 internally (coding the umlaut in two bytes) and my filesystem doesn't. The File::Copy call does not mediate the situation either.
What is the exact problem with your filenames? Is a character missing in the destination filename right after the umlaut?
I'll try to fix this, but I wonder why Perl filesystem modules are not aware of the conversion problem.

Regards,
Carsten


Reply to this

-

 Track numbers

 
 by tasador on: Dec 18 2005
 
Score 50%

For some reason, when I use the %N parameter for the track number, it always results in 00, although the track number is properly displayed in the amarok playlist.


Reply to this

-

 Re: Track numbers

 
 by carstenjahn on: Dec 19 2005
 
Score 50%

The %N parameter does not work with newer versions of amarok. I have already fixed this problem in copyplaylist2 version 0.5, but I'm waiting for mkae to upload the improved version. I'll send you version 0.5 seperately by email...
Regards,
Carsten


Reply to this

-
.

 Re: Re: Track number

 
 by tasador on: Dec 23 2005
 
Score 50%

I'm glad to hear a fix is on its way :-) I didn't receive your mail, but that's okay, as I guess it will be uploaded soon.

Thanks!


Reply to this

-

 rsync

 
 by gisli on: Jan 5 2006
 
Score 50%

I have not tested copyplaylist2. I am basing my understanding of its functionality on its description.

It seems that copying the files on the playlist to the usb is only desired the first time and that on subsequent envocations one would like the playlist and the usb to be syncronized, such as one might achieve with rsync.

Rsync would not copy files already found on the usb device and could be instructed to remove files from the usb that are no longer found in the playlist.

Has anyone given this any thought? A brute force solution might be to create a directory tree of symbolic links to the songs in the playlist and then envoke rsync, telling it to expand links to actual files as it syncronizes the usb with the directory of symlinks.

Comments?


Reply to this

-

 Re: rsync

 
 by carstenjahn on: Jan 6 2006
 
Score 50%

I think it depends on your usage pattern, but it's definitely an interesting feature if the user has a device with a large filesystem.

However, the sync does not work as expected if the %S placeholder is used: When songs are inserted in the middle of the playlist, all following sequence counts shift. But that's a minor drawback.


Reply to this

-

 Customizable Presets

 
 by jipumarino on: Jan 18 2006
 
Score 50%

It would be nice to get customizable 'Naming Presets' as you call them now.

I find myself using different patterns when copying files to my mp3 player:

  • Albums, one per folder (ARTIST-ALBUM/NUMBER TITLE)

  • Random songs (Various/ARTIST-TITLE)

  • Podcasts

  • etc.


Reply to this

goto page:  1  2 

Add commentBack




-



 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Content RSS   
Events RSS   

Participate
Groups
Forum
Add Content
Public API
About openDesktop.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2007-2016 openDesktop.org Team  
All rights reserved. openDesktop.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
openDesktop is a trademark of the openDesktop.org Team