LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 12-22-2008, 02:17 PM   #1
shortman101n
LQ Newbie
 
Registered: Dec 2005
Location: Maine
Distribution: Ubuntu
Posts: 9

Rep: Reputation: 0
Songbird iTunes importer, xml file, help with changing pathnames


Well I have gotten songbird to import my library from iTunes using the xml file. Ratings and playlists are intact. However I need help changing the pathnames, I do not know what to change them to that Songbird will recognize. Here is an original path example...

<key>Location</key><string>file://localhost/F:/My%20Music/iTunes/iTunes%20Music/Compilations/Nirvana/10%20Pennyroyal%20Tea.mp3</string>

My music is mounted at /media/Files/ and all the folders are the same. I do not know if I need to get rid of "file://" or "localhost" or what to change so it is recognized in ubuntu. I am already using the find replace command in gedit. I am very nex to linux so if there are any ways that involve scripts or anything other than find and replace, I will probably need some extra instruction on how to use them or modify them. For example I found this script on...

http://ubuntuforums.org/showthread.php?p=1983441

#!/bin/bash
cp /media/data/documents/My\ Music/iTunes/iTunes\ Music\ Library.xml /tmp/
perl -pi -e 's/file\:\/\/localhost\/E\:\//\/media\//g' /tmp/iTunes\ Music\ Library.xml
echo "Use File>Import Library to import the library (found at /tmp/iTunes Music Library)";

but do not know how to modify it. Thanks for your help.
 
  


Reply

Tags
itunes, songbird, xml


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: SongBird - free iTunes like Media player and web browser LXer Syndicated Linux News 0 09-13-2008 11:30 AM
Songbird (iTunes) for Solaris: kebabbert Solaris / OpenSolaris 1 08-13-2008 06:41 AM
LXer: Songbird: Open-Source iTunes Killer? LXer Syndicated Linux News 0 02-09-2006 09:47 AM
sed with pathnames rose_bud4201 Programming 9 05-25-2005 08:44 AM
Pathnames jcai Linux - Newbie 3 09-15-2004 01:50 AM


All times are GMT -5. The time now is 06:19 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration