IPB

Welcome Guest ( Log In | Register )

> foobar2000 General Forum Rules

This is NOT a tech support forum.
Tech support questions go to foobar2000 Tech Support forum instead.

See also: Hydrogenaudio Terms of Service.

New component: Text Tools, Replacement for "copy names" functionality.
Peter
post May 19 2008, 00:06
Post #1





Group: Admin
Posts: 3269
Joined: 30-September 01
Member No.: 84



Download: http://foobar2000.org/components
Recommended for people who use the "copy names" command a lot. The Text Tools component lets you create multiple context menu commands copying information about the selected tracks using different title-formatting patterns. Additionally, the "advanced" dialog lets you produce a report with grouping and group headers/footers, for eg. exporting a list of your albums with full track lists.


--------------------
This job would be great if it wasn't for the users.
Go to the top of the page
+Quote Post
 
Start new topic
Replies
Rain
post Jan 17 2010, 03:36
Post #2





Group: Members
Posts: 112
Joined: 27-January 06
Member No.: 27371



Slight edit of garbanzo.bean's code:

CODE
Track Pattern:
%track%. %title%[' ['%track artist%']']

Group header pattern:
$crlf()Artist: %album artist%$crlf()Album: %album%$crlf()Year: %date%$crlf()Quality: $ifequal($strcmp(%codec_profile%,CBR),1,%bitrate% ,)%codec_profile%$crlf()

Eliminates need for group footer pattern. Also removed first $if validation (not necessary).

Sample output:
CODE

Artist: U2
Album: How To Dismantle An Atomic Bomb
Year: 2004
Quality: VBR V4

01. Vertigo
02. Miracle Drug
03. Sometimes You Can't Make It On Your Own
04. Love And Peace Or Else
05. City Of Blinding Lights
06. All Because Of You
07. A Man And A Woman
08. Crumbs From Your Table
09. One Step Closer
10. Original Of The Species
11. Yahweh
12. Fast Cars


This post has been edited by Rain: Jan 17 2010, 03:39
Go to the top of the page
+Quote Post

Posts in this topic
- Peter   New component: Text Tools   May 19 2008, 00:06
- - Canar   Excellent! Just what I've been hoping for...   May 19 2008, 00:19
- - bb10   Awesome! Thanks Question: Is it possible to ...   May 19 2008, 00:24
- - foo_peter   I follow that.... but why twice the same one text ...   May 19 2008, 01:04
- - saivert   foo_utils already provides a good Text tools Copy ...   May 19 2008, 01:13
- - foosion   The name and functionality clash with the text too...   May 19 2008, 07:47
|- - Fandango   QUOTE (foosion @ May 19 2008, 08:47) I am...   Aug 4 2008, 23:31
- - foo_peter   Hello foosion Thanks for these words that lets me ...   May 19 2008, 10:11
- - Bimbo Frogger   This is awesome. Thank you Peter   May 19 2008, 12:34
- - NullString   Thank you!   May 19 2008, 13:27
- - zmur   thanks   May 20 2008, 20:45
- - MuseFan   Cool! Thanks Peter!   May 21 2008, 01:11
- - Olaf   I think I found a bug : if you assign a keyboard s...   Jun 24 2008, 10:58
|- - Yirkha   QUOTE (Olaf @ Jun 24 2008, 10:58) I think...   Jan 17 2009, 16:11
- - odyssey   It would be great if it was able to save the resul...   Jun 24 2008, 17:07
- - maxtail   Using previous version foo_utils with Copy Name fu...   Jun 25 2008, 02:04
- - DocBeard   You can edit the context menu so that Text Tools i...   Jun 26 2008, 04:28
- - langoustator   Thanks for this useful plugin! Small request: ...   Jan 6 2009, 16:42
- - Takaji   Thanks! I was looking for something like this.   Jan 17 2009, 19:25
- - Olaf   Thanks for the fix.   Jan 17 2009, 21:12
- - Hommit   Thanks for much useful plugin. However, i have th...   Jan 31 2009, 14:17
- - LePeR   Is it possible to be able to add brackets to my ou...   Jan 12 2010, 07:18
- - bimbel   You need to escape brackets in title-formatting eg...   Jan 12 2010, 07:42
|- - LePeR   Ohh nice tyvm Moderation: Removed unnecessary fu...   Jan 12 2010, 07:43
- - garbanzo.bean   wow, very useful! i too would like to see the...   Jan 12 2010, 08:16
|- - LePeR   That is actually amazingly useful Moderation: Rem...   Jan 12 2010, 08:39
- - pyrotechnician   just the thing i was looking for. thanks!   Jan 16 2010, 19:03
- - Rain   Thanks garbanzo.bean, that was really useful. Now ...   Jan 17 2010, 01:39
- - thecircusfreak   @ garbanzo.bean small notice, the second part of ...   Jan 17 2010, 02:15
- - Rain   Slight edit of garbanzo.bean's code: CODETrac...   Jan 17 2010, 03:36
- - garbanzo.bean   @ thecircusfreak - can you explain why? i put it t...   Jan 17 2010, 13:46
|- - TomBarlow   QUOTE (garbanzo.bean @ Jan 17 2010, 12:46...   Jan 17 2010, 14:05
- - Keesface   i use this for copying the content of my entire li...   Jan 19 2010, 19:05
- - stefle   Found a strange behaviour: %list_index% is not tre...   Jan 23 2010, 22:48
- - fuffi   Hi Peter, very useful plugin, thank you. also tha...   Jan 1 2011, 14:37
- - Anakunda   HI! If I'm not mistaken this is the only ...   Dec 10 2011, 21:21
|- - vogliadicane   Made some more generic script concerning Codec, Al...   Dec 11 2011, 12:21
- - Anakunda   Yes that's right I can do this with Text Tools...   Dec 11 2011, 13:00
|- - vogliadicane   ^^ jfi my post was NOT a reply to your request   Dec 11 2011, 17:06
- - Anakunda   Too bad. Anyone else can fullfill my request?   Dec 11 2011, 17:11
|- - vogliadicane   nice puzzle, here you go (adjust the line breaks t...   Dec 11 2011, 19:29
- - mjm716   I'm bumping this thread to see if anyone has a...   Aug 8 2013, 22:49
- - Robertina   QUOTE (mjm716 @ Aug 8 2013, 10:49) I woul...   Aug 9 2013, 00:30
- - mjm716   QUOTE (Robertina @ Aug 9 2013, 01:30) Not...   Aug 9 2013, 11:54


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 18th April 2014 - 15:34