Difference between revisions of "Media Library"

From AwkwardTV
Jump to: navigation, search
m
m (spambusters)
Line 1: Line 1:
[http://bakedsmurf.ifrance.com/description/tarantelle-pugliesi/ tarantelle pugliesi] [http://todkonda.ifrance.com/content/motorola-v/ motorola v180 usb driver download] [http://raneely.125mb.com/text/www-kazaa.htm www kazaa it] [http://stbrocke.125mb.com/content/dimage-e.htm dimage e 323 konica minolta] [http://prkinardan.125mb.com/styles/progettazione-macchina.htm progettazione macchina] [http://mike12305.ifrance.com/lib/processori-intel/ processori intel p4] [http://earthlygnome.ifrance.com/www-maranello/ www maranello it] [http://mike12305.ifrance.com/lib/www-edu/ www edu ro] [http://dragonzgrace.ifrance.com/description/i-piu/ i piu bei goal del mondo] [http://stbrocke.125mb.com/content/th-pve.htm th 42pv500e] [http://raneely.125mb.com/text/mmc-cards.htm mmc cards] [http://kamedcal.125mb.com/km-audi.htm km0 audi a4 avant auto km 0] [http://madavidan.125mb.com/text/hp-compaq.htm hp compaq server g4] [http://mcgoley.125mb.com/articles/focus-.htm focus 90 cv] [http://stbrocke.125mb.com/content/portami-in.htm portami in cielo] [http://bemedad.125mb.com/blog/hp-dlt.htm hp dlt vs80] [http://kuzelka111.ifrance.com/lib/corpo-luteo/ corpo luteo] [http://prkinardan.125mb.com/styles/giocho-calcio.htm giocho calcio] [http://todkonda.ifrance.com/content/compro-vendo/ compro vendo] [http://kamedcal.125mb.com/suoneria-inno.htm suoneria inno lazio] [http://kewheatl.125mb.com/library/legge.htm legge 80 2003] [http://prkinardan.125mb.com/styles/roig-montserrat.htm roig montserrat] [http://mcgoley.125mb.com/articles/lg-ls.htm lg l1730s] [http://sylverrain.ifrance.com/data/go-west/ go west] [http://prkinardan.125mb.com/styles/atmosfear.htm atmosfear] [http://stbrocke.125mb.com/content/louvet-de.htm louvet de couvray jeanbaptiste] [http://kewheatl.125mb.com/library/eco-drive.htm eco drive citizen orologi] [http://mcgoley.125mb.com/articles/divinita-e.htm divinita e personaggi mitologici] [http://kamedcal.125mb.com/sony-vgnaxp.htm sony vgna497xp] [http://mamerium.125mb.com/ariston-avf.htm ariston avf 109s] [http://prkinardan.125mb.com/styles/lamiere-.htm lamiere  lavorazione e produzione] [http://sylverrain.ifrance.com/data/rimax-mp/ rimax mp3] [http://todkonda.ifrance.com/content/move-ya/ move ya body ana sky] [http://prkinardan.125mb.com/styles/nomi-in.htm nomi in cinese] [http://dragonzgrace.ifrance.com/description/beating-online/ beating online casino] [http://dragonzgrace.ifrance.com/description/voli-low/ voli low cost europa] [http://prkinardan.125mb.com/styles/digital-diary.htm digital diary] [http://kewheatl.125mb.com/library/marina-di.htm marina di maratea] [http://kamedcal.125mb.com/gocci-di.htm gocci di memoria] [http://bemedad.125mb.com/blog/tenuta-le.htm tenuta le viste] [http://bemedad.125mb.com/blog/sophia-bush.htm sophia bush] [http://stbrocke.125mb.com/content/foto-spazio.htm foto spazio] [http://kewheatl.125mb.com/library/intel-pentium.htm intel pentium 4 2 66 ghz] [http://kuzelka111.ifrance.com/lib/governo-federale/ governo federale italiano] [http://bakedsmurf.ifrance.com/description/computer-con/ computer con windows media center] [http://doloeb.125mb.com/bouble-bounce.htm bouble bounce] [http://madavidan.125mb.com/text/mascara-bronze.htm mascara bronze] [http://prkinardan.125mb.com/styles/ufficio-.htm ufficio  macchine e attrezzature] [http://bemedad.125mb.com/blog/euroset.htm euroset 2015] [http://stbrocke.125mb.com/content/gena-nolin.htm gena nolin] [http://kewheatl.125mb.com/library/studentessa-piu.htm studentessa piu sexy] [http://dragonzgrace.ifrance.com/description/hf-dc/ hf dc1] [http://mike12305.ifrance.com/lib/sandali-nike/ sandali nike] [http://stbrocke.125mb.com/content/tatuaggi-maori.htm tatuaggi maori gratis] [http://todkonda.ifrance.com/content/blink-/ blink 182 nudi] [http://prkinardan.125mb.com/styles/kampa.htm kampa] [http://mcgoley.125mb.com/articles/canon-batteria.htm canon batteria] [http://superspounge.ifrance.com/hard-disck/ hard disck 120 gb] [http://madavidan.125mb.com/text/senza-fine.htm senza fine] [http://earthlygnome.ifrance.com/panca-per/ panca per palestra] [http://bemedad.125mb.com/blog/topless-nel.htm topless nel grande fratello] [http://kuzelka111.ifrance.com/lib/codici-per/ codici per risiko] [http://earthlygnome.ifrance.com/eizo-las/ eizo l568as] [http://mike12305.ifrance.com/lib/hasta-siempre/ hasta siempre comandante midi] [http://doloeb.125mb.com/router-adsl.htm router adsl wireless 802 11g] [http://prkinardan.125mb.com/styles/ati-.htm ati 9600 pro 256 mb] [http://superspounge.ifrance.com/rassa/ rassa] [http://mcgoley.125mb.com/articles/trans-campania.htm trans campania] [http://vanopo.ifrance.com/library/bellini-bernardo/ bellini bernardo] [http://prkinardan.125mb.com/styles/dlgs.htm dlgs 196 2003] [http://mcgoley.125mb.com/articles/logitech-flat.htm logitech flat] [http://todkonda.ifrance.com/content/test-drive/ test drive overdrive] [http://raneely.125mb.com/text/alghe-kelp.htm alghe kelp] [http://kuzelka111.ifrance.com/lib/connels/ connels] [http://kuzelka111.ifrance.com/lib/svideo-lettori/ svideo lettori dvd] [http://kuzelka111.ifrance.com/lib/ci-vuole/ ci vuole un attimo aleandro baldi] [http://superspounge.ifrance.com/polo-volkswagen/ polo volkswagen] [http://madavidan.125mb.com/text/ferro.htm ferro] [http://todkonda.ifrance.com/content/baby-gang/ baby gang] [http://superspounge.ifrance.com/www-sia/ www sia] [http://mike12305.ifrance.com/lib/hub-per/ hub per usb] [http://prkinardan.125mb.com/styles/viet-net.htm viet net com] [http://dragonzgrace.ifrance.com/description/caribbean-travel/ caribbean travel] [http://mike12305.ifrance.com/lib/la-fiera/ la fiera delle illusioni] [http://earthlygnome.ifrance.com/guta-nicolae/ guta nicolae] [http://madavidan.125mb.com/text/cura-battiato.htm cura battiato] [http://stbrocke.125mb.com/content/agriturismo-carrara.htm agriturismo carrara] [http://mike12305.ifrance.com/lib/winmpg/ winmpg] [http://madavidan.125mb.com/text/aspirapolvere-ad.htm aspirapolvere ad acqua simac] [http://vanopo.ifrance.com/library/hard-disk/ hard disk case 2 5] [http://earthlygnome.ifrance.com/ink-film/ ink film telecom leonardo] [http://todkonda.ifrance.com/content/sigle-telegiornali/ sigle telegiornali] [http://madavidan.125mb.com/text/inscatolare.htm inscatolare] [http://mamerium.125mb.com/qtek-s.htm qtek s100 gsm] [http://kewheatl.125mb.com/library/house-of.htm house of the time] [http://sylverrain.ifrance.com/data/batterie-t/ batterie t28] [http://vanopo.ifrance.com/library/parabola-per/ parabola per digitale] [http://stbrocke.125mb.com/content/anna-dei.htm anna dei mille giorni] [http://mcgoley.125mb.com/articles/due-nella.htm due nella folla] [http://stbrocke.125mb.com/content/kylie-minogue.htm kylie minogue red blooded] [http://dragonzgrace.ifrance.com/description/ati-/ ati 9600 xt 256 mb] [http://kuzelka111.ifrance.com/lib/joy-t/ joy t vannelli] [http://bakedsmurf.ifrance.com/description/jvc-gr/ jvc gr d245] [http://mcgoley.125mb.com/articles/gang-bang.htm gang bang sicilia] [http://doloeb.125mb.com/kinder-friends.htm kinder friends] [http://vanopo.ifrance.com/library/prima-patch/ prima patch ufficiale per doom 3] [http://raneely.125mb.com/text/porto-empedocle.htm porto empedocle] [http://mcgoley.125mb.com/articles/molise-acquafredda.htm molise acquafredda] [http://sylverrain.ifrance.com/data/solo-sesso/ solo sesso gratis] [http://kamedcal.125mb.com/tonie-aguilera.htm tonie aguilera] [http://sylverrain.ifrance.com/data/ortopedici/ ortopedici] [http://vanopo.ifrance.com/library/altoparlanti-mac/ altoparlanti mac] [http://sylverrain.ifrance.com/data/tears-for/ tears for fears the universal masters dvd collection] [http://kamedcal.125mb.com/santos-cartier.htm santos cartier] [http://todkonda.ifrance.com/content/magic-gioco/ magic gioco] [http://todkonda.ifrance.com/content/ufficio-lignano/ ufficio lignano sabbiadoro] [http://kuzelka111.ifrance.com/lib/nik/ nik] [http://earthlygnome.ifrance.com/clark-john/ clark john maurice] [http://mike12305.ifrance.com/lib/profumo-gai/ profumo gai mattiolo] [http://bakedsmurf.ifrance.com/description/nikkor-mm/ nikkor 24mm] [http://raneely.125mb.com/text/foto-helene.htm foto helene swedin] [http://bemedad.125mb.com/blog/gps.htm gps 168] [http://stbrocke.125mb.com/content/luomo-di.htm luomo di hong kong] [http://mcgoley.125mb.com/articles/teeny-weeny.htm teeny weeny sting bikini] [http://kamedcal.125mb.com/graudatoria-concorsi.htm graudatoria concorsi vfp4] [http://earthlygnome.ifrance.com/ericsson-cellulari/ ericsson cellulari] [http://madavidan.125mb.com/text/un-angelo.htm un angelo non e video] [http://stbrocke.125mb.com/content/passat.htm passat 2004] [http://earthlygnome.ifrance.com/lacie-hard/ lacie hard drive 250 gb] [http://kuzelka111.ifrance.com/lib/gtavice-city/ gtavice city] [http://bakedsmurf.ifrance.com/description/energizer-a/ energizer a76] [http://vanopo.ifrance.com/library/www-comune/ www comune treviglio it] [http://mamerium.125mb.com/i-re.htm i re magi] [http://dragonzgrace.ifrance.com/description/www-lilkim/ www lilkim com] [http://todkonda.ifrance.com/content/otra-ves/ otra ves] [http://mike12305.ifrance.com/lib/difesa-del/ difesa del suolo] [http://prkinardan.125mb.com/styles/victor-hugo.htm victor hugo] [http://kewheatl.125mb.com/library/hotel-palace.htm hotel palace portorose] [http://kamedcal.125mb.com/salina-eolie.htm salina eolie] [http://doloeb.125mb.com/console-per.htm console per pc] [http://kuzelka111.ifrance.com/lib/ricciardi/ ricciardi] [http://mcgoley.125mb.com/articles/significato-dei.htm significato dei tarocchi] [http://vanopo.ifrance.com/library/vetreria-sant/ vetreria sant angelo srl] [http://prkinardan.125mb.com/styles/tungstene-gps.htm tungstene gps] [http://mike12305.ifrance.com/lib/fotocopiatrici-digitali/ fotocopiatrici digitali a colori] [http://sylverrain.ifrance.com/data/foto-lilla/ foto lilla for men] [http://kamedcal.125mb.com/gestori-telefonia.htm gestori telefonia mobile] [http://madavidan.125mb.com/text/nike-calcetto.htm nike calcetto indoor] [http://doloeb.125mb.com/ortona.htm ortona] [http://bemedad.125mb.com/blog/madonna-re.htm madonna re invention world tour 2004] [http://raneely.125mb.com/text/mp-hd.htm mp3 hd 40gb] [http://prkinardan.125mb.com/styles/vacanza-russia.htm vacanza russia] [http://superspounge.ifrance.com/marzo-costruzioni/ marzo costruzioni] [http://dragonzgrace.ifrance.com/description/musi-pussy/ musi pussy] [http://bemedad.125mb.com/blog/jamile.htm jamile] [http://madavidan.125mb.com/text/la-ultima.htm la ultima nota] [http://bakedsmurf.ifrance.com/description/sony-tn/ sony t33n] [http://mamerium.125mb.com/media-center.htm media center acer] [http://raneely.125mb.com/text/ilenia.htm ilenia] [http://kuzelka111.ifrance.com/lib/video-programma/ video programma paso adelante] [http://madavidan.125mb.com/text/stoccolma-shopping.htm stoccolma shopping] [http://mcgoley.125mb.com/articles/techno-warriors.htm techno warriors] [http://prkinardan.125mb.com/styles/dj-fish.htm dj fish] [http://bemedad.125mb.com/blog/gba-cavo.htm gba cavo link] [http://superspounge.ifrance.com/liteon-sohws/ liteon sohw1693s] [http://prkinardan.125mb.com/styles/auto-vendita.htm auto vendita] [http://doloeb.125mb.com/digitale-terrestre.htm digitale terrestre empire] [http://earthlygnome.ifrance.com/piscina-kd/ piscina kd] [http://mamerium.125mb.com/egoiste-platinum.htm egoiste platinum chanel 125ml] [http://sylverrain.ifrance.com/data/coral-engineering/ coral engineering] [http://stbrocke.125mb.com/content/finanziamento-giugliano.htm finanziamento giugliano campania] [http://bemedad.125mb.com/blog/moda-accessorio.htm moda accessorio] [http://madavidan.125mb.com/text/montatore-meccanico.htm montatore meccanico (regione emilia romagna  piacenza provincia)] [http://kuzelka111.ifrance.com/lib/lumix-dmc/ lumix dmc] [http://mcgoley.125mb.com/articles/foo-fighter.htm foo fighter] [http://vanopo.ifrance.com/library/solo-musica/ solo musica de eddie santigo salsa] [http://earthlygnome.ifrance.com/immobilare/ immobilare] [http://dragonzgrace.ifrance.com/description/vigilanza-san/ vigilanza san paolino] [http://bemedad.125mb.com/blog/sito-internet.htm sito internet caserta] [http://mike12305.ifrance.com/lib/storie-di/ storie di capelli] [http://kuzelka111.ifrance.com/lib/sdram-mb/ sdram 256mb 133mhz] [http://prkinardan.125mb.com/styles/tekio.htm tekio] [http://kamedcal.125mb.com/il-diavolo.htm il diavolo va in collegio] [http://mike12305.ifrance.com/lib/romano-prodi/ romano prodi] [http://kuzelka111.ifrance.com/lib/crack-step/ crack step7 5 2] [http://stbrocke.125mb.com/content/bmw-italia.htm bmw italia] [http://mike12305.ifrance.com/lib/agriturismo-specchia/ agriturismo specchia lecce] [http://bakedsmurf.ifrance.com/description/media-center/ media center desktop] [http://mamerium.125mb.com/kettler-delta.htm kettler delta 100] [http://kuzelka111.ifrance.com/lib/trucco-guida/ trucco guida resident evil 4] [http://kuzelka111.ifrance.com/lib/maxtor-/ maxtor 200 gb sata] [http://kewheatl.125mb.com/library/israelsex.htm israelsex] [http://dragonzgrace.ifrance.com/description/tesina-su/ tesina su fiat] [http://kuzelka111.ifrance.com/lib/www-tg/ www tg 5 com] [http://kuzelka111.ifrance.com/lib/katherine-kelly/ katherine kelly lang nuda] [http://mcgoley.125mb.com/articles/entre.htm entre] [http://earthlygnome.ifrance.com/midland-alan/ midland alan 199] [http://vanopo.ifrance.com/library/tv-philips/ tv philips lcd 32 32pf9986] [http://madavidan.125mb.com/text/campeggi-della.htm campeggi della corsica] [http://prkinardan.125mb.com/styles/missione-segreta.htm missione segreta] 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 22:21, 4 September 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