Difference between revisions of "Media Library"

From AwkwardTV
Jump to: navigation, search
m
m (Spam-A-Licious)
Line 1: Line 1:
[http://psisemiya.com/images/small/una-guida/ una guida per luomo sposato] [http://kinunia.cn/linea-effe.htm linea effe snc] [http://amohseni.info/img/styles/fate/ fate] [http://saibso.org/eos-d.htm eos d1] [http://davte.info/library/html/www-s.htm www s] [http://helmed.info/topic/el/ el 42] [http://ashythro.info/library/html/mercedes-/ mercedes 500 sl] [http://davte.info/library/html/nokia-gsm.htm nokia gsm 900] [http://kinunia.cn/eileen-regina.htm eileen regina edwards] [http://davte.info/library/html/screesavers.htm screesavers] [http://ustall.org/web/gioco-tavolo.htm gioco tavolo online] [http://amohseni.info/img/styles/telecomando-tv/ telecomando tv accessori] [http://saibso.org/mattioli-gioielli.htm mattioli gioielli] [http://psisemiya.com/images/small/gioch-i/ gioch i] [http://amohseni.info/img/styles/inps-di/ inps di brindisi] [http://nobinters.org/kettler-vario.htm kettler vario gym] [http://ustall.org/web/windows-cal.htm windows cal] [http://ustall.org/web/camisea.htm camisea] [http://chaba.info/dolce-gabbana/ dolce gabbana camicie] [http://helmed.info/topic/il-dono/ il dono] [http://ustall.org/web/ps-tray.htm ps tray factory 1.94] [http://davte.info/library/html/jeans-diesel.htm jeans diesel 30] [http://kinunia.cn/fax-e.htm fax e stampante] [http://davte.info/library/html/roma-.htm roma 1 giorno] [http://ashythro.info/library/html/just-like/ just like dath] [http://davte.info/library/html/www-genialloyd.htm www genialloyd it] [http://kinunia.cn/omaggio-floreale.htm omaggio floreale] [http://saibso.org/roma-signora.htm roma signora delle genti] [http://ustall.org/web/philips-p.htm philips 107p50] [http://davte.info/library/html/opel-diesel.htm opel diesel] [http://helmed.info/topic/cristina-grillo/ cristina grillo sesso anale] [http://chaba.info/giocattoli-e/ giocattoli e bambole] [http://davte.info/library/html/cronache-del.htm cronache del terzo millennio] [http://psisemiya.com/images/small/l-amico/ l amico e baldan bembo dario] [http://saibso.org/amd-athlon.htm amd athlon xp processori] [http://nobinters.org/giochi-vecchi.htm giochi vecchi] [http://kinunia.cn/arbaud-joseph.htm arbaud, joseph d-] [http://kinunia.cn/ariston-incasso.htm ariston incasso aaa] [http://bloprofeldi.info/lib/di-marino.htm di marino francesco] [http://davte.info/library/html/tizianoferro.htm tizianoferro] [http://saibso.org/morand.htm morand] [http://chaba.info/avrd-eye/ av8-3rd eye abit] [http://ustall.org/web/midi-marcia.htm midi marcia nunziale] [http://ustall.org/web/legge-tognoli.htm legge tognoli normativa] [http://nobinters.org/seno-suggest.htm seno suggest link] [http://ustall.org/web/jethro-tull.htm jethro tull] [http://ustall.org/web/numeri-privati.htm numeri privati] [http://helmed.info/topic/olbia-napoli/ olbia napoli biglietti aerei] [http://ustall.org/web/videogiochi-gratis.htm videogiochi gratis] [http://davte.info/library/html/progettazione-giardini.htm progettazione giardini] [http://helmed.info/topic/sex-jenifer/ sex jenifer lopez] [http://amohseni.info/img/styles/kodak-ultra/ kodak ultra] [http://nobinters.org/www-regione.htm www regione] [http://saibso.org/ipod-custodie.htm ipod custodie] [http://kinunia.cn/arma.htm arma] [http://amohseni.info/img/styles/candy-ctd/ candy ctd 10] [http://nobinters.org/yanni.htm yanni] [http://nobinters.org/boys-be.htm boys be. disco 3] [http://saibso.org/atoll-mantova.htm atoll mantova] [http://saibso.org/eminem-video.htm eminem video like toy soldiers] [http://saibso.org/navionics-gold.htm navionics gold] [http://amohseni.info/img/styles/trucchi-giochi/ trucchi giochi playstation] [http://amohseni.info/img/styles/opel-corsa/ opel corsa 1.4 swing] [http://saibso.org/sex-viet.htm sex viet nam] [http://bloprofeldi.info/lib/www-l.htm www l ultimo samurai it] [http://chaba.info/a-che/ a che prezzo hollywood] [http://amohseni.info/img/styles/californication-tabs/ californication tabs] [http://ustall.org/web/esame-maturita.htm esame maturita 2004 seconda prova] [http://helmed.info/topic/annunci-foto/ annunci foto gay] [http://psisemiya.com/images/small/furti-al/ furti al supermecato] [http://chaba.info/baite-montagna/ baite montagna] [http://helmed.info/topic/tatuaggi-soleluna/ tatuaggi soleluna] [http://kinunia.cn/zaini-monospalla.htm zaini monospalla] [http://davte.info/library/html/racconti-erotici.htm racconti erotici moglie] [http://ustall.org/web/lavatrice-a.htm lavatrice a 1200 alto] [http://chaba.info/tu-no/ tu no dei gemelli diversi] [http://davte.info/library/html/nx.htm nx6110 740] [http://chaba.info/usb-charger/ usb charger] [http://saibso.org/indesit-wil.htm indesit wil 80] [http://davte.info/library/html/pera.htm pera] [http://amohseni.info/img/styles/nikkor-mm/ nikkor 24mm] [http://psisemiya.com/images/small/web-sites/ web sites monitoring] [http://kinunia.cn/be-ther.htm be ther for you] [http://ustall.org/web/furgone-usato.htm furgone usato] [http://davte.info/library/html/mp-creative.htm mp3 creative lettori] [http://davte.info/library/html/lettori-mp.htm lettori mp3 creative muvo] [http://saibso.org/pagine-bianche.htm pagine bianche pasticceria domenica] [http://kinunia.cn/hard-disk.htm hard disk hitachi 80 gb] [http://nobinters.org/cavalleria-rusticana.htm cavalleria rusticana] [http://chaba.info/penny-market/ penny market] [http://chaba.info/vanilla-nija/ vanilla nija] [http://nobinters.org/fendi-donna.htm fendi donna] [http://kinunia.cn/www-musica.htm www musica italiana com] [http://davte.info/library/html/pettinature-moda.htm pettinature moda] [http://ashythro.info/library/html/il-cammino/ il cammino delle stelle] [http://psisemiya.com/images/small/paolo-conte/ paolo conte via con me] [http://helmed.info/topic/anagrammare-parole/ anagrammare parole] [http://psisemiya.com/images/small/guerlain-issima/ guerlain issima perfect white c] [http://bloprofeldi.info/lib/dvd-x.htm dvd 8x hp da 100] [http://davte.info/library/html/screensaver-signore.htm screensaver signore anello] [http://psisemiya.com/images/small/monitor-computer/ monitor computer lcd sony] [http://amohseni.info/img/styles/lopez-sabatino/ lopez, sabatino] [http://nobinters.org/lettore-scrittore.htm lettore scrittore card] [http://saibso.org/cazzotti.htm cazzotti] [http://davte.info/library/html/lettori-mp.htm lettori mp3 lg] [http://psisemiya.com/images/small/mantels/ mantels] [http://davte.info/library/html/the-mission.htm the mission morricone] [http://psisemiya.com/images/small/annuncio-coppia/ annuncio coppia veneto] [http://kinunia.cn/donne-in.htm donne in cerca di sesso] [http://bloprofeldi.info/lib/satcodx.htm satcodx] [http://helmed.info/topic/impero-dei/ impero dei franchi] [http://davte.info/library/html/audi-a.htm audi a3 padova] [http://helmed.info/topic/lavoro-autista/ lavoro autista catania] [http://ustall.org/web/visura-catastale.htm visura catastale] [http://davte.info/library/html/renault-espace.htm renault espace turbodiesel] [http://kinunia.cn/misrepresented-people.htm misrepresented people] [http://kinunia.cn/katie-price.htm katie price sexy] [http://psisemiya.com/images/small/negozi-pesca/ negozi pesca sportiva] [http://bloprofeldi.info/lib/amore-e.htm amore e morte nel giardino degli dei] [http://davte.info/library/html/illegal-baby.htm illegal baby sex] [http://saibso.org/notre-deme.htm notre deme de paris] [http://ustall.org/web/la-suora.htm la suora bianca] [http://chaba.info/router-netgear/ router netgear usb] [http://ashythro.info/library/html/acrobat-capture/ acrobat capture] [http://chaba.info/porta-batterie/ porta batterie] [http://helmed.info/topic/adattatore-da/ adattatore da ps2 a usb] [http://davte.info/library/html/nomi-in.htm nomi in cinese] [http://ustall.org/web/studies-and.htm studies and development of digital signature technologies by smart card on handheld devices] [http://kinunia.cn/imate-pdak.htm i-mate pda2k gps] [http://ashythro.info/library/html/travestito/ travestito] [http://amohseni.info/img/styles/mouse-nero/ mouse nero] [http://kinunia.cn/sony-hc.htm sony hc30] [http://ustall.org/web/aggiornamenti-cagliari.htm aggiornamenti cagliari] [http://helmed.info/topic/decapitazione-uomo/ decapitazione uomo americano] [http://nobinters.org/seether-and.htm seether and amy lee] [http://amohseni.info/img/styles/sadica/ sadica] [http://chaba.info/los-angeles/ los angeles de charly] [http://saibso.org/honda-cbr.htm honda cbr 900] [http://ustall.org/web/gico-con.htm gico con mucche] [http://davte.info/library/html/celeron-j.htm celeron 330j] [http://kinunia.cn/www-laura.htm www laura engel it] [http://nobinters.org/giochiamo.htm giochiamo] [http://davte.info/library/html/san-marco.htm san marco] [http://psisemiya.com/images/small/steptoe-and/ steptoe and son] [http://psisemiya.com/images/small/doctorate-degree/ doctorate degree] [http://bloprofeldi.info/lib/sexys.htm sexys] [http://nobinters.org/sesso-hard.htm sesso hard cazzi grossi in figa] [http://nobinters.org/donizzetti-la.htm donizzetti la zingara] [http://davte.info/library/html/oggettistica.htm oggettistica] [http://nobinters.org/bacio-tra.htm bacio tra paola e chiara] [http://amohseni.info/img/styles/fastweb-modem/ fastweb modem] [http://ustall.org/web/sorry-seems.htm sorry seems to be the hardest world blue] [http://helmed.info/topic/voir-un/ voir un ami pleure] [http://kinunia.cn/yugioh-scarica.htm yugioh scarica] [http://davte.info/library/html/victor-hugo.htm victor hugo] [http://ashythro.info/library/html/deep-spirit/ deep spirit lonley] [http://bloprofeldi.info/lib/bicicletta-city.htm bicicletta city] [http://ustall.org/web/auto-polo.htm auto polo anno 2002] [http://psisemiya.com/images/small/oggetti-in/ oggetti in culo] [http://nobinters.org/toner-samsung.htm toner samsung clp-500] [http://amohseni.info/img/styles/lcd-benq/ lcd benq fp71e] [http://saibso.org/dymo-labelwriter.htm dymo labelwriter 400 turbo] [http://saibso.org/sigma-.htm sigma 70-200 f 2 8] [http://kinunia.cn/brigitta-kovacs.htm brigitta kovacs] [http://psisemiya.com/images/small/veritas-backup/ veritas backup exec server] [http://davte.info/library/html/samsung-yh.htm samsung yh-920 20 gb] [http://kinunia.cn/agenzia-matrimoniale.htm agenzia matrimoniale varese] [http://nobinters.org/elezioni-organi.htm elezioni organi collegiali genitori] [http://davte.info/library/html/latino-americanas.htm latino americanas] [http://bloprofeldi.info/lib/abbigliamento-al.htm abbigliamento al dettaglio] [http://ustall.org/web/marzotto.htm marzotto] [http://psisemiya.com/images/small/total-strider/ total strider] [http://bloprofeldi.info/lib/metalica.htm metalica] [http://saibso.org/google-si.htm google si] [http://psisemiya.com/images/small/rottenburg-am/ rottenburg am neckar] [http://amohseni.info/img/styles/time-gal/ time gal and ninja hayate] [http://amohseni.info/img/styles/sobre-el/ sobre el campesino] [http://ustall.org/web/offerta-lavoro.htm offerta lavoro geometra] [http://davte.info/library/html/sapphire-ati.htm sapphire ati x300] [http://saibso.org/californi-phantom.htm californi phantom planet] [http://psisemiya.com/images/small/la-notte/ la notte dei generali] [http://helmed.info/topic/per-telefonare/ per telefonare dall italia in argentina] [http://kinunia.cn/mahjongh.htm mahjongh] [http://ustall.org/web/euro-fifa.htm euro fifa] [http://amohseni.info/img/styles/cagliari-londra/ cagliari londra] [http://ustall.org/web/marchio-privato.htm marchio privato] [http://bloprofeldi.info/lib/gioco-boy.htm gioco boy] [http://bloprofeldi.info/lib/sonoio.htm sonoio] [http://nobinters.org/santuari-campani.htm santuari campani] [http://kinunia.cn/harlan-county.htm harlan county usa] [http://psisemiya.com/images/small/le-cinque/ le cinque terre] [http://chaba.info/sex-strip/ sex strip] [http://chaba.info/luomo-della/ luomo della torre eiffel] [http://chaba.info/surdato-nnammurato/ surdato nnammurato] [http://ustall.org/web/istruzione-e.htm istruzione e ricerca] [http://psisemiya.com/images/small/pleating/ pleating] [http://nobinters.org/copertina-stealth.htm copertina stealth] [http://bloprofeldi.info/lib/i-got.htm i got five on it] [http://helmed.info/topic/decapitazione-ostaggio/ decapitazione ostaggio usa in iraq] [http://bloprofeldi.info/lib/il-solitario.htm il solitario della montagna] The Media Library file (in /mnt/Media/Media Library) is similar to iTunesDB on the iPod.
+
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/Media/Media Files/
 
The path to the actual media files are relative to /mnt/Media/Media Files/
  

Revision as of 06:53, 19 August 2007

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/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} =    "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", "help|h", "mount|m=s", "decode=s", "restore|r", "duplicate|d", "disable-v2", "disable-v1",
-                   "set-artist=s", "set-album=s", "set-genre=s", "set-rating=i", "set-playcount=i",
                    "set-artist=s", "set-album=s", "set-genre=s", "set-rating=i", "set-playcount=i", "set-title=s", "set-tvshow=s", "set-tvepisode=s",
                    "set-songnum", "playlist|p=s", "reencode|e=i");
 GNUpod::FooBar::GetConfig(\%opts, {'decode'=>'s', mount=>'s', duplicate=>'b',
                                    'disable-v1'=>'b', 'disable-v2'=>'b', 'set-songnum'=>'b'},
@@ -138,6  138,11 @@
                $fh->{genre}       = $opts{'set-genre'}       if $opts{'set-genre'};
                $fh->{rating}      = $opts{'set-rating'}      if $opts{'set-rating'};
                $fh->{playcount}   = $opts{'set-playcount'}   if $opts{'set-playcount'};
                $fh->{title}       = $opts{'set-title'}       if $opts{'set-title'};
                $fh->{tvshow}      = $opts{'set-tvshow'}      if $opts{'set-tvshow'};
                $fh->{artist}      = $opts{'set-tvshow'}      if $opts{'set-tvshow'};
                $fh->{mediatype}   = 0x40                     if $opts{'set-tvshow'};
                $fh->{tvepisode}   = $opts{'set-tvepisode'}   if $opts{'set-tvepisode'};
                $fh->{songnum}     = 1 $addcount              if $opts{'set-songnum'};
 
                #Set the addtime to unixtime(now) MACTIME (the iPod uses mactime)
--- gnupod-orig/src/ext/FileMagic.pm    2006-09-27 02:52:23.000000000 -0700
    gnupod-0.99.1/src/ext/FileMagic.pm  2007-03-25 03:46:25.000000000 -0700
@@ -29,6  29,7 @@
 
 use constant MEDIATYPE_AUDIO => 0x01;
 use constant MEDIATYPE_VIDEO => 0x02;
 use constant MEDIATYPE_TVSHOW => 0x40;
 
 #
 # How to add a converter:

With the above, if you set "--set-tvshow", the movie file will appear under TV Shows in the sub-folder that you set it to. You can then use "--set-title" to set the episode name. FYI: even though I put --set-tvepisode in there, it may produce odd results!

After gnupod is built:

  • mkdir MediaNew
  • export IPOD_MOUNTPOINT=`pwd`/MediaNew
  • gnupod_INIT.pl
  • gnupod_addsong.pl <whatever>
  • mktunes.pl

Copy these files to the appletv:

  • iPod_Control/Music/* -> /mnt/Media/Media Files/*
  • iPod_Control/iTunes/iTunesDB -> /mnt/Media/Media Library

You'll need to restart Finder/Front Row on the appletv to get it to reread the db


Todo

  • Set the proper bitrate, time, etc. for mov/avi