IPB

Welcome Guest ( Log In | Register )

> Notice!

Please take a minute to check our Frequently Asked Questions. Use Search to reveal possible related topics.

Also make sure you've read the Forum Guidelines before posting in this forum.

 
Reply to this topicStart new topic
> Help With Export
Lbird2
post May 2 2006, 19:26
Post #1


Member


Group: Full Members
Posts: 5
Joined: 27-December 05
Member No.: 2531
Mp3tag Version: 2.32a



When I apply the export expression below, only one album per artist is exported even though multiple albums per artist exist in the selected tags. What am I doing wrong? This happens whether or not the "allow duplicates" box is selected.

I'm using version 2.32. Thank you in advance for your suggestions.


$filename(txt)$loop(%album%,1)%artist%;%album%;%year%;%genre%
$loopend()
Go to the top of the page
 
+Quote Post
SquallLeonhart38
post May 3 2006, 09:17
Post #2


Member


Group: Full Members
Posts: 155
Joined: 29-March 06
Member No.: 2944
Mp3tag Version: 2.40c



QUOTE (Lbird2 @ May 2 2006, 20:26)
When I apply the export expression below, only one album per artist is exported even though multiple albums per artist exist in the selected tags.  What am I doing wrong?  This happens whether or not the "allow duplicates" box is selected.

I'm using version 2.32.  Thank you in advance for your suggestions.
$filename(txt)$loop(%album%,1)%artist%;%album%;%year%;%genre%
$loopend()
*

I tested it and there is no problem with the export file itself. For me it works fine.
Ummm, you say that multiple album names exists in the tags. In the tags of one file???

When this is the case, then this is the problem. The export only reads the first type of tag that is appearing in a file. So when you have three different album tags in the file, let's say:
1. British Steel
2. Defenders Of The Faith
3. Painkiller
and they are all in one file, and you want to export it, the script only grabs the first one. And in this case it is "British Steel".

I don't know if there is a way of exporting multiple fields of the same type.


--------------------
Go to the top of the page
 
+Quote Post
Lbird2
post May 3 2006, 20:41
Post #3


Member


Group: Full Members
Posts: 5
Joined: 27-December 05
Member No.: 2531
Mp3tag Version: 2.32a



Hold it...forget everything I said prior to this point!

The problem is when there are multiple ALBUMS with the same name, not artists. So, for instance if the set of tags I have selected for export contain four albums with the title "Greatest Hits" from four different artists, the information for only one of those four albums will be exported.

Please try this with the export definition in my original post and let me know if you get the same result.

Sorry for the confusion and thanks for your help. Be warned - everything seems to goes to hell once you past 40! dry.gif

-Luther

This post has been edited by Lbird2: May 3 2006, 22:22
Go to the top of the page
 
+Quote Post
milka
post May 4 2006, 07:10
Post #4


Croatian translator


Group: Translators
Posts: 315
Joined: 7-February 05
From: Croatia, Zagreb
Member No.: 1533
Mp3tag Version: 2.41



I didn't test it becase I am not at home, but try this.

CODE
$filename(txt)$loop(%album%,1)$loop(%_folderpath%)%artist%;%album%;%year%;%genre%
$loopend()$loopend()


This post has been edited by milka: May 4 2006, 07:12


--------------------
Go to the top of the page
 
+Quote Post
SquallLeonhart38
post May 4 2006, 09:41
Post #5


Member


Group: Full Members
Posts: 155
Joined: 29-March 06
Member No.: 2944
Mp3tag Version: 2.40c



$filename(txt)$loop(%album%)$loop(%_folderpath%,1)%artist%;%album%;%year%;%genre%
$loopend()$loopend()

This should be a little better, because when you filter it by the albums, you still get only one album.

But so it should work.

You could also put a $loop(%artist%) before $loop(%album%,1) and then it would give you one data set per artist:
$filename(txt)$loop(%artist%)$loop(%album%,1)%artist%;%album%;%year%;%genre%
$loopend()$loopend()


--------------------
Go to the top of the page
 
+Quote Post

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: 26th November 2014 - 00:12