The ModMyTM Family of Sites:
ModMyMotoModMyiModMyGphone




 
 
Register or Connect with Facebook

Discuss AppStore Apps | Browse / Search Cydia | MMi Cydia Stats




  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > 3rd Party Apps For iPhone | iPod Touch > Native iPhone / iPod Touch App Discussion
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 06-21-2009, 04:45 AM
What's Jailbreak?
 
Join Date: May 2008
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Question about /var/mobile/iTunes_Control and iPod application

Back when I was using OS 2, I would use a script that I modified from swapLibrary.app to swap between two music/video libraries, designated ~/Media/iTunes_Control and ~/Media/iTunes_Control_2. The script would swap the two folders so that after swapping, and my iPod application would use the relevant media file in the relevant folder:

Code:
if [ -e /var/mobile/Media/iTunes_Control_2 ]
then
	mv /var/mobile/Media/iTunes_Control /var/mobile/Media/iTunes_Control_temp
	mv /var/mobile/Media/iTunes_Control_2 /var/mobile/Media/iTunes_Control
	mv /var/mobile/Media/iTunes_Control_temp /var/mobile/Media/iTunes_Control_2
else
	mv /var/mobile/Media/iTunes_Control /var/mobile/Media/iTunes_Control_2
	mkdir /var/mobile/Media/iTunes_Control
fi
Interestingly enough, it seems that with OS 3, this no longer works. The script does swap the folders as expected, but the iPod does not "realize" that the library has changed. That is, it still contains a listing of all the media under the previous library, but of course, when you try to play that media, it no longer works because it has now moved to iTunes_Control_2.

It seems that whereas with OS 2, both the names and the actual content of the media library were present under ~/Media/iTunes_Control, whereas under OS 3, only the content is under this folder (and the names of the media are in another folder). I was wondering if anyone knew what was going on, and in particular, where the name of the media are stored?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
Reply

  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > 3rd Party Apps For iPhone | iPod Touch > Native iPhone / iPod Touch App Discussion

Thread Tools
Display Modes

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 On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



Go to Top
ModMyI

All times are GMT -6. The time now is 11:51 PM. Powered by vBulletin® Version 3.8.4
If you need Dedicated Server Hosting, you should check out SingleHop. | Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 Copyright © 2007-09 by ModMy, LLC. All rights reserved.

iPhone News / iPhone Forums / Apple News / Apple Forums / RSS / Contact Us / / Privacy Statement / Top