Media Library

From AwkwardTV
Revision as of 14:17, 8 September 2007 by Uw1Nci (talk | contribs)
Jump to: navigation, search

siemens ag umberto saba peugeot 206 xt gypsy kings carmelo zappulla scottsdale hotels kiefer sutherland kotahitanga calendario flavio montrucchio fermanoproduce wallpaper harry potter 1 la ricetta di ieri ufficio castellanza asrock 775i48 epinefrina michael cane fx 70 intel p4 desktop km0 fiat gpl auto km 0 lumix dmc citroen zx 1.4i break avantage qsvs babbo natale sardo john lee hooker strip britney statua nettuno messina www jetix tv com tv lcd hdtv 26 sony televisori al plasma 42 pollici master rocca grimalda omicidio san marino casino racconti erotici calciatori operata horsesex le regine dellamore proibito bony tailor s m s pronti il notturno orgasmo vaginale the sound www giuliano di roma filam terbaru fujifilm stampanti principe coraggioso slim dvd masterizzatori cd ebben ne andro lontano miscelatori vivavoce auto nokia 6680 randomscreen delux ix 30 cori dello stadio nero cd speed ruta accessori loox 720 finemiro leasing che campioni holly e benji la lotteria perreo don omar maniglie borsa carta www tarjetas virtuales com ti(iv) rx 300 ambassador sex movi lampadari per camerette paint shop studio non c e piu audio lettore mp3 scott durazzo (distretto) raschiatura muse hullabaloo we are spiderman 2 lifeview dvbt que lloro de sinbandera spartiti di max pezzali sundek donna profumi very irresistible givenchy www hot babes la signora dal cagnolino brother 9660 fax minnie e topolino jjj bpx43 epson stylus pro 7600 assicurazione alba will young simflyers chiese campane nikita mid musei di chieti comprare motori eleborati now we are free traduzione landriano icecam macally tenute caricaturas gratis porno de ranma 1 2 paola perego mentre scopa www nike com mr president hx4700 hp giochi pc soluzione eldorado glucophage online jungle ringtones caller ringtones cheap ortho cheap paxil motorola ringtones cheap carisoprodol replica rolex watches free toques ringtones funny ringtones cheap ultram cheap norvasc free motorola ringtones sonyericsson ringtones free cheap ringtones buy clomid hindi ringtones ritalin buy valtrex cheap flexeril cheap zyban buy zoloft metformin free turkey ringtones free mp3 ringtones car rental cheap ativan retro ringtones pharmacy online online accutane free t-mobile ringtones paxil cheap ephedrine vigrx cingular ringtones cheap cialis free cellular ringtones wellbutrin online sprint ringtones albuterol online cheap ultracet cheap celebrex phendimetrazine online free tmobile ringtones free alltel ringtones norco cheap cipro darvon online free audiovox ringtones free animal ringtones cheap zocor real ringtones celexa cheap celebrex cheap hoodia tenuate cheap protonix turkey ringtones mtv ringtones vardenafil cheap didrex sony ringtones cheap adderall cool ringtones diovan online cheap pharmacy online buy norco americanairlines cheap xanax free sonyericsson ringtones buy oxycontin cheap buspar cheap provigil diazepam cheap sibutramine order xanax free true ringtones midi ringtones free wwe ringtones alprazolam cheap ephedra cheap ambien pantech ringtones cheap morphine cheap lortab buy atenolol buy amoxicillin hydrocodone cheap xenical cheap phendimetrazine cheap wellbutrin free real ringtones home mortgage loans buy cipro cheap diazepam free polyphonic ringtones sildenafil online cheap propecia buy xenical phentermine online The Media Library file (in /mnt/Media/Media Library) is similar to iTunesDB on the iPod. The path to the actual media files are relative to /mnt/ 5A8 Media/Media Files/

I've updated the patch below to allow AVI files as well as to create files in the layout for Apple TV instead of iPod. The patch is available at http://ericiii.pastey.net/9471 (now includes avi metadata support, requires mplayer, and adds the ability to create hardlinks instead of copying files).

Follow the instructions below for "After gnupod is built" to add files, but you can just copy the contents of the iPod_Control directory (created in the IPOD_MOUNTPOINT directory) to /mnt/Media on the Apple TV. Restarting Finder (Front Row) on the Apple TV is still necessary.

Original patches

Patch for gnupod (http://www.gnu.org/software/gnupod/) to output the correct path as well as a stub for handling .mov (for reference files) (also note that this makes it not work for real ipods):

--- gnupod-orig/src/ext/FileMagic.pm    2006-09-27 02:52:23.000000000 -0700
    gnupod-0.99.1/src/ext/FileMagic.pm  2007-03-24 16:48:43.000000000 -0700
@@ -73,6  73,20 @@
   elsif(!-r $file) {
    warn "FileMagic.pm: Can't read '$file'\n";
   }
   elsif($file =~ /mov$/){
   my %rh = ();
 # just some bogus data
   $rh{bitrate}  = 20;
   $rh{filesize} = (-s $file);
   $rh{srate}    = 5;
   $rh{time}     = 20;
   $rh{fdesc}    = "Quicktime Video File";
   $rh{title}    = "Unknown vdeo Title";
   $rh{album} =   "Unknown Album";
   $rh{artist} =    "
4B0
Unknown Artist";
   $rh{mediatype}  = MEDIATYPE_VIDEO;
        return (\%rh, {ftyp=>"MOV", format=>"mov"});
   }
   elsif(my $nnat  = __is_NonNative($file,$flags,$con)) { #Handle non-native formats
    return($nnat->{ref}, {ftyp=>$nnat->{codec}}, $nnat->{encoder});
   }
diff -ur gnupod-orig/src/ext/XMLhelper.pm gnupod-0.99.1/src/ext/XMLhelper.pm
--- gnupod-orig/src/ext/XMLhelper.pm    2006-02-03 12:47:24.000000000 -0800
    gnupod-0.99.1/src/ext/XMLhelper.pm  2007-03-24 16:48:53.000000000 -0700
@@ -121,6  121,8 @@
 
 #Convert /'s to :'s
 $ipath =~ tr/\//:/;
 # for appletv
 $ipath=~s/:iPod_Control:Music//;
 return ($ipath, $path);
 }

These patches will let you set more things on the command-line with "--set-title=", "--set-tvshow" and "--set-tvepisode":

--- gnupod-orig/src/gnupod_addsong.pl   2006-03-22 12:05:24.000000000 -0700
    gnupod-0.99.1/src/gnupod_addsong.pl 2007-03-25 04:29:47.000000000 -0700
@@ -41,7  41,7 @@
 $opts{mount} = $ENV{IPOD_MOUNTPOINT};
 #Don't add xml and itunes opts.. we *NEED* the mount opt to be set..
 GetOptions(\%opts, "version