IPB

Welcome Guest ( Log In | Register )

> foobar2000 Tech Support Forum Rules

Please read foobar2000 Tech Support Forum Rules before posting and comply with all the points.
Failure to provide all the information pointed out in the above document in your post is considered wasting other people's time and in extreme cases will lead to your topic getting locked without a reply.


See also: Hydrogenaudio Terms of Service.

 
Reply to this topicStart new topic
Importing iTunes xml stats into foobar
BPM
post Jan 12 2010, 01:23
Post #1





Group: Members
Posts: 11
Joined: 28-August 09
Member No.: 72727



I appologize ahead of time if the solution to this was posted somewhere already, Ive tried to search for it but nothing seems to fit what I would like to accomplish.
What I'd like to do is import my iTunes playcounts into foobar's playback statistics component. I have an xml file of my whole iTunes library with nice xml tags of the playcount, artist, title, album, ect for each song. (thanks to iTSfv) What I'd like to do is import this into playback statistics data file for each matching song in my foobar library. Many songs are the same from my iTunes library, but Ive separated the two libraries in different file locations. Some songs Ive upgated to higher quality, so most are not the exact same file, but same song nevertheless.

The solution I'm thinking of is some kind of script that will read my xml file, find the corresponding song in foobar and changed the playback statistics for it automaticly. Almost all of the songs should have the exact same titles and artist names so matching names should not be a problem, its just finding a scipt or some other method to get this task done. I would really rather not manually change statistics on over 3500 songs..

Can it be done? Does anyone have an idea where could I start?
Go to the top of the page
+Quote Post
shakey_snake
post Jan 12 2010, 01:29
Post #2





Group: FB2K Moderator
Posts: 4322
Joined: 1-November 06
From: Cincinnati
Member No.: 37036



Well, This method can do it. Provided you have mp3tag and a spreadsheet program.

This post has been edited by shakey_snake: Jan 12 2010, 01:29


--------------------
elevatorladylevitateme
Go to the top of the page
+Quote Post
BPM
post Jan 12 2010, 02:01
Post #3





Group: Members
Posts: 11
Joined: 28-August 09
Member No.: 72727



There does not seem to be an option to export library in iTunes 9.0 as a text file, only xml. When changing it to a csv file, its all just in one column.
Go to the top of the page
+Quote Post
2E7AH
post Jan 12 2010, 03:18
Post #4





Group: Validating
Posts: 2424
Joined: 21-May 08
Member No.: 53675



look here: http://www.hydrogenaudio.org/forums/index....st&p=631310

after you saved that little script in same folder as you iTunes library file and added additional line in it, open it in Excel (when asked choose transformation style sheet) then export as csv if you need to
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: 24th April 2014 - 13:24