-
 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    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Apps
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans  .- Knowledge Base  . 

Playlist to any format (foobar2000 tagz)

   0.2.3  

Amarok Script

Score 61%
Playlist to any format (foobar2000 tagz)
zoom


Playlist to any format (foobar2000 tagz)
zoom


Downloads:  225
Submitted:  Aug 3 2008
Updated:  Jan 17 2009

Description:

I proud to present my implementation of Foobar2000 tagz in perl as Amarok script.

This script can format playlist from a given template and save it to file or put into clipboard (by using syntax of Foobar 2000 tagz: http://wiki.hydrogenaudio.org/index.php?title=Foobar2000%3ATitleformat_Reference)

Script has two implementations: with GUI (needs PerlQT) and without it (if you want to edit config manually). If you don't want to install PerlQt you can edit file $HOME/.pltaf and change properties. It will appear after first run of script. You can find some examples in archive.

Litle HOWTO: When running script (with gui), you can see a window with two text areas, some radiobuttons and four buttons in the bottom. In first text area you should enter the tagz. For example, this:

[code]
$ifequal(%list_index%,1,
'[spoiler="My playlist"]'$crlf())
''#%track%'' -
['[color=grey]'%artist% - [%album% - ]'[/color]']
%title%
'['%length%']'
$ifequal(%list_index%,%list_total%,
$crlf()'[/spoiler]')
[/code]

In second text area you will see the preview of what you will get at last. In my case:

[code]
#05 - [color=grey]U2 - U218 Singles - [/color]Vertigo [3:10]
[/code]

When you sure that your tagz is ready, press 'Run Script' button. The resulting playlist now in the clipboard!

Seven radiobuttons in the right are the seven presets that you can save and use. On the second tab you can find selector between file and klipper and 'browse' button to select file. This option take effect to currently selected preset. I move this selector to the second tab because it is used only once. Buttons in the bottom are:
'Run' script with enterd preferencies,
'save' preferences to config file,
'Ok' for save prefernces and exit,
'Cancel' to exit without doing anything.

Second implementation is mainly aimed to be run from commandline (but still it is nice to use it from amarok if you do not have PerlQt). It has some parameters:

[conf_file FILE] - use config FILE instead of /home/name_no/.pltaf
[template N] - number of template in config file. Use number from 1 to 7.
[store_file FILE] - file where to store result instead of specified in config
[to_klipper 1/0] - if you want to put result into buffer set 1. This will take effect over config.
[templ STRING] - you may give your template here instead of using stored
[playlist FILE] - use playlist FILE in amarok format instead of default.
[track N] - generate result only for specified tracks. Specify list here, e.g. 1,2,3,8-12,14-17,20.
[help] to see this message

You can find PerlQt in your packetmanager or on it's homepage:
http://perlqt.sourceforge.net/

For more, you can read the README file.
For license, look at the COPYING file.

For bugreport or featurerequest mail to zasada_shaman@list.ru

Known problems:
some foobar-specefic functions are not implemented yet. Also, there is no way to get some meta-info using amarok.

Todo:
1. I plan to make it amarok-independent for printing contents of directories.
2. Fix all bugs
3. To take over the world




Changelog:

0.2.3
Stupid bug that forced people to vote my program 'bad' was detected and destroyed.

0.2.2
1. Interface. Now it does almost all I expect from it
2. Add 'track' cmdline attribute to process certain tracks
3. Interface now can show normal message if no PerlQt installed.

0.2.1
1. Improved initialization
2. Improved function finder (faster)
3. Some tiny bugs fixed

0.2.0
1. (almost) full implementation of tagz
2. added GUI (needs PerlQt)
3. added config file




LicenseGPL
(pltaf - amarok script)
Send to a friend
Subscribe
Other  Apps  from NameNo
Report inappropriate content



-

 WEIDMUELLER

 
 by scottiale on: Aug 28 2008
 
Score 50%

Why Weidmuller tools?


Reply to this

-

 Re: WEIDMUELLER

 
 by NameNo on: Aug 28 2008
 
Score 50%

Really, why?


Reply to this

-
.

 Yay!

 
 by Kadai on: Oct 20 2009
 
Score 50%

Waaaah, this add-on is what I was looking for to create dumps in TXT for some playlists XD

Thank you so much for it!


Reply to this

-

 Amarok 2

 
 by bugmenot1234 on: Jan 11 2010
 
Score 50%

Hi,
I'm now using Amarok 2 and like to use your skript again in this version.
Is it possible to get your skript for the new version?

Greets Kris


Reply to this

Add commentBack






-
-
How do you like Plasma 5?
 The best KDE Desktop ever.
 Definitely a nice improvement.
 Not decided yet. Haven't tried it yet.
 I do not like some of the changes.
 KDE is taking the wrong way.
 I am still sticking with KDE 3.5.
 I have no opinion, but wanted to vote anyway.

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

Participate
Groups
Forum
Add App
Public API
About KDE-Apps.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2003-2014 KDE-Apps.org Team  
All rights reserved. KDE-Apps.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.