Difference between revisions of "Media Library"

From AwkwardTV
Jump to: navigation, search
m
Line 1: Line 1:
[http://czalex.125mb.com/topic/color-climax.htm color climax] [http://armanenshaft.h18.ru/testi-canzoni.htm testi canzoni eamon] [http://pessimistsmile.ifrance.com/lib/bigliettino-augurio/ bigliettino augurio] [http://tipusya.h18.ru/topic/ariston-mba.htm ariston mba 45] [http://chatnoirspb.h18.ru/html/mccormick.htm mccormick] [http://weakxknees.ifrance.com/data/mpge.htm mpge] [http://weakxknees.ifrance.com/data/lettori-memorie.htm lettori memorie] [http://chatnoirspb.h18.ru/html/giochi-misteriosi.htm giochi misteriosi] [http://gr8tgatsby.h18.ru/blog/midi-karaoche.htm midi karaoche anni 60] [http://anwud.ifrance.com/revolver-usati/ revolver usati] [http://5tact.ifrance.com/html/keys-file/ keys file] [http://tipusya.h18.ru/topic/logitech-volante.htm logitech volante pc] [http://armanenshaft.h18.ru/immagini-svevo.htm immagini svevo] [http://czalex.125mb.com/topic/papero-e.htm papero e fragole brescia] [http://tipusya.h18.ru/topic/scarpe-da.htm scarpe da donna parentesi] [http://anwud.ifrance.com/come-scaricarli/ come scaricarli] [http://lantioki.ifrance.com/quinto-impero/ quinto impero  ieri come oggi] [http://czalex.125mb.com/topic/pavillion-notebook.htm pavillion notebook] [http://onlystraw.ifrance.com/gprs-modem/ gprs modem] [http://5tact.ifrance.com/html/gotan-project/ gotan project cd musicali] [http://xemily89.ifrance.com/lib/nuova-fiat.htm nuova fiat uno diesel auto nuove] [http://anwud.ifrance.com/lavoro-pontedera/ lavoro pontedera] [http://africdymon.ifrance.com/nero-dvd/ nero dvd mpeg2 plugin] [http://pessimistsmile.ifrance.com/lib/roland-garros/ roland garros 2001] [http://anwud.ifrance.com/mimosa/ mimosa] [http://weakxknees.ifrance.com/data/lucilla-agosti.htm lucilla agosti upskirt] [http://butzopower.ifrance.com/vertical-stand/ vertical stand] [http://pessimistsmile.ifrance.com/lib/traduzione-testi/ traduzione testi musicali gratis] [http://pessimistsmile.ifrance.com/lib/scacchiera-elettronica/ scacchiera elettronica] [http://liilliil.125mb.com/description/fotomontaggi-porno.htm fotomontaggi porno] [http://africdymon.ifrance.com/che-notte/ che notte ragazzi] [http://tipusya.h18.ru/topic/home-fili.htm home fili] [http://5tact.ifrance.com/html/piedi-and/ piedi and sesso] [http://onlystraw.ifrance.com/creare-suoneria/ creare suoneria] [http://dearcharlene.h18.ru/library/mobili-giardino.htm mobili giardino bologna] [http://onlystraw.ifrance.com/clicca-mouse/ clicca mouse] [http://liilliil.125mb.com/description/zyxel-isdn.htm zyxel isdn] [http://africdymon.ifrance.com/mark-lanegan/ mark lanegan] [http://hannahwel.ifrance.com/text/nuova-alfa.htm nuova alfa romeo 166 auto nuove] [http://anwud.ifrance.com/provincie-piemonte/ provincie piemonte] [http://africdymon.ifrance.com/albergo-tenerife/ albergo tenerife] [http://lantioki.ifrance.com/jogi/ jogi] [http://lantioki.ifrance.com/copertina-eros/ copertina eros live] [http://burnmasterflex.ifrance.com/directory/denzel-washington/ denzel washington] [http://onlystraw.ifrance.com/scheda-madre/ scheda madre msi 775] [http://5tact.ifrance.com/html/ati-schede/ ati schede madri matx] [http://weakxknees.ifrance.com/data/nokia-.htm nokia 6680 batteria] [http://onlystraw.ifrance.com/king-island/ king island] [http://hannahwel.ifrance.com/text/schweitzer.htm schweitzer] [http://hannahwel.ifrance.com/text/un-piccolo.htm un piccolo grande eroe] [http://butzopower.ifrance.com/scale-termometriche/ scale termometriche] [http://5tact.ifrance.com/html/foto-amatoriali/ foto amatoriali erotiche] [http://tipusya.h18.ru/topic/delonghi-ec.htm delonghi ec 190] [http://tipusya.h18.ru/topic/sesso-per.htm sesso per salvare l amazzonia] [http://armanenshaft.h18.ru/chicca.htm chicca 26] [http://5tact.ifrance.com/html/watch-live/ watch live christian tv] [http://czalex.125mb.com/topic/ragazzo-peschiera.htm ragazzo peschiera borromeo] [http://xemily89.ifrance.com/lib/friedberg.htm friedberg] [http://hannahwel.ifrance.com/text/poor-lil.htm poor lil rich mp3] [http://butzopower.ifrance.com/fattura-xls/ fattura xls] [http://czalex.125mb.com/topic/natale-miami.htm natale miami] [http://dearcharlene.h18.ru/library/ripetitore-di.htm ripetitore di segnale antenna] [http://weakxknees.ifrance.com/data/finanziamento-imprenditoria.htm finanziamento imprenditoria giovanile] [http://burnmasterflex.ifrance.com/directory/caravan-roulotte/ caravan roulotte] [http://pessimistsmile.ifrance.com/lib/ileana/ ileana] [http://onlystraw.ifrance.com/mandeville-sir/ mandeville sir john] [http://5tact.ifrance.com/html/unibanco/ unibanco] [http://hannahwel.ifrance.com/text/dany.htm dany] [http://pessimistsmile.ifrance.com/lib/krolow-karl/ krolow karl] [http://pessimistsmile.ifrance.com/lib/manuale-nero/ manuale nero burning rom] [http://hannahwel.ifrance.com/text/locale-notturno.htm locale notturno] [http://pessimistsmile.ifrance.com/lib/brindare/ brindare] [http://butzopower.ifrance.com/d-g/ d g underwear] [http://anwud.ifrance.com/prima-m/ prima m ama poi non m ama] [http://burnmasterflex.ifrance.com/directory/cash-johnny/ cash johnny] [http://africdymon.ifrance.com/gps-bluetooth/ gps bluetooth bt77] [http://anwud.ifrance.com/asus-eaxxtpe/ asus eax850xtpe] [http://lantioki.ifrance.com/racconti-di/ racconti di coppie sesso con animali] [http://anwud.ifrance.com/cerca-amici/ cerca amici] [http://africdymon.ifrance.com/acer-/ acer 1362 portatili] [http://lantioki.ifrance.com/siemens-amilo/ siemens amilo v7010] [http://onlystraw.ifrance.com/custodia-canon/ custodia canon eos 300d] [http://armanenshaft.h18.ru/sony-vaio.htm sony vaio vgc ra304] [http://5tact.ifrance.com/html/renault-clio/ renault clio ice 1997] [http://5tact.ifrance.com/html/non-dici/ non dici] [http://armanenshaft.h18.ru/transex-bisex.htm transex bisex] [http://anwud.ifrance.com/turner-/ turner 2000 pro] [http://armanenshaft.h18.ru/amstrad-televisore.htm amstrad televisore portatile] [http://tipusya.h18.ru/topic/pag.htm pag] [http://natashariard.ifrance.com/small/bionicle-the/ bionicle the game] [http://anwud.ifrance.com/farinella/ farinella] [http://5tact.ifrance.com/html/divas-hrvatska/ divas hrvatska] [http://africdymon.ifrance.com/fasi-lunari/ fasi lunari maggio 1998] [http://5tact.ifrance.com/html/bmw-e/ bmw e38] [http://anwud.ifrance.com/discgolf/ discgolf] [http://liilliil.125mb.com/description/feste-private.htm feste private] [http://weakxknees.ifrance.com/data/ficone.htm ficone] [http://pessimistsmile.ifrance.com/lib/holding-my/ holding my own] [http://onlystraw.ifrance.com/liquid-edition/ liquid edition 6] [http://dearcharlene.h18.ru/library/mare-croazia.htm mare croazia] [http://onlystraw.ifrance.com/donna-summer/ donna summer she hard for the money] [http://czalex.125mb.com/topic/oakley-m.htm oakley m frame sweep smoke black iridium] [http://liilliil.125mb.com/description/eros-ramazzotti.htm eros ramazzotti per me per sempre] [http://burnmasterflex.ifrance.com/directory/www-mimandaraitre/ www mimandaraitre rai it] [http://pessimistsmile.ifrance.com/lib/grease-testi/ grease testi delle canzoni] [http://onlystraw.ifrance.com/too-late/ too late] [http://burnmasterflex.ifrance.com/directory/halysites/ halysites] [http://onlystraw.ifrance.com/soluzione-dead/ soluzione dead to rights] [http://tipusya.h18.ru/topic/vaginas-penetradas.htm vaginas penetradas] [http://butzopower.ifrance.com/hyundai-atos/ hyundai atos gls] [http://esi.mit.edu/help/img/cyworok.htm free fly ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/whgeiman.htm free cool ringtones] [http://esi.mit.edu/help/img/pogyz.htm alltel ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/vahawn.htm cheap valtrex] [http://www.jeffco.edu/ctl/help/cuvul.htm ephedrine] [http://www.howardcollege.edu/Athletics/components/com_news/brheight.htm cheap valium] [http://esi.mit.edu/help/img/susej.htm free funny ringtones] [http://www.jeffco.edu/ctl/help/wolo.htm hydrocodone online] [http://www.howardcollege.edu/Athletics/components/com_news/bemccosk.htm paxil online] [http://www.jeffco.edu/ctl/help/xefonu.htm free latin ringtones] [http://esi.mit.edu/help/img/xybe.htm cheap pharmacy] [http://www.howardcollege.edu/Athletics/components/com_news/lohankle.htm cheap flonase] [http://esi.mit.edu/help/img/pyfihus.htm but hgh] [http://www.jeffco.edu/ctl/help/lewu.htm wellbutrin online] [http://esi.mit.edu/help/img/tofede.htm free audiovox ringtones] [http://esi.mit.edu/help/img/vecode.htm cheap celebrex] [http://www.howardcollege.edu/Athletics/components/com_news/motrusty.htm cheap codeine] [http://esi.mit.edu/help/img/buzi.htm cialis online] [http://www.jeffco.edu/ctl/help/cedohej.htm free kyocera ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/grbryson.htm cheap zovirax] [http://www.jeffco.edu/ctl/help/ziped.htm cheap ortho] [http://www.jeffco.edu/ctl/help/zoce.htm vigrx online] [http://www.jeffco.edu/ctl/help/tetune.htm free phone ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/tujetrie.htm cheap cephalexin] [http://www.howardcollege.edu/Athletics/components/com_news/cafaison.htm vicodin] [http://www.howardcollege.edu/Athletics/components/com_news/hutildon.htm qwest ringtones] [http://esi.mit.edu/help/img/fetyfe.htm venlafaxine online] [http://www.howardcollege.edu/Athletics/components/com_news/miredfor.htm cheap darvon] [http://esi.mit.edu/help/img/nohyky.htm cellular ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/arfeller.htm free punk ringtones] [http://esi.mit.edu/help/img/lipesy.htm cingular ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/mismoot.htm pharmacy online] [http://www.jeffco.edu/ctl/help/rinod.htm cheap diethylpropion] [http://esi.mit.edu/help/img/wujog.htm cheap lisinopril] [http://www.howardcollege.edu/Athletics/components/com_news/kialden.htm cheap cipro] [http://esi.mit.edu/help/img/wyhusu.htm cheap xanax] [http://www.jeffco.edu/ctl/help/wuweryh.htm cheap phentermine] [http://www.jeffco.edu/ctl/help/sisuku.htm cheap darvocet] [http://www.howardcollege.edu/Athletics/components/com_news/buottrie.htm free funny ringtones] [http://esi.mit.edu/help/img/hidoluz.htm lortab online] [http://www.howardcollege.edu/Athletics/components/com_news/relachni.htm nexium online] [http://www.howardcollege.edu/Athletics/components/com_news/qyhorsey.htm cheap diazepam] [http://www.jeffco.edu/ctl/help/roxil.htm free pop ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/tiraglan.htm cheap ionamin] [http://www.howardcollege.edu/Athletics/components/com_news/cuburges.htm free cellular ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/pudecamp.htm cheap adipex] [http://www.jeffco.edu/ctl/help/wulyjyz.htm provigil online] [http://www.howardcollege.edu/Athletics/components/com_news/wohentzi.htm cheap ritalin] [http://www.howardcollege.edu/Athletics/components/com_news/seraulst.htm health insurance indiana] [http://www.jeffco.edu/ctl/help/bejy.htm sildenafil] [http://www.howardcollege.edu/Athletics/components/com_news/hahendon.htm buy glucophage] [http://www.howardcollege.edu/Athletics/components/com_news/borange.htm nokia ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/tebeerup.htm ionamin] [http://esi.mit.edu/help/img/cygo.htm zovirax online] [http://www.jeffco.edu/ctl/help/lywogi.htm lg ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/erdorrou.htm cheap lortab] [http://esi.mit.edu/help/img/feti.htm free animal ringtones] [http://www.jeffco.edu/ctl/help/cuxy.htm free anime ringtones] [http://esi.mit.edu/help/img/cinuzel.htm actos] [http://www.jeffco.edu/ctl/help/sogo.htm free mtv ringtones] [http://esi.mit.edu/help/img/beji.htm cheap morphine] [http://www.howardcollege.edu/Athletics/components/com_news/histrebi.htm cheap metronidazole] [http://esi.mit.edu/help/img/lury.htm free cellphone ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/mcmaurin.htm adderall] [http://www.howardcollege.edu/Athletics/components/com_news/hekathy.htm caller ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/mostout.htm celexa] [http://www.howardcollege.edu/Athletics/components/com_news/roelvira.htm christian ringtones] [http://esi.mit.edu/help/img/peren.htm diazepam online] [http://www.howardcollege.edu/Athletics/components/com_news/lofrick.htm free alltel ringtones] [http://esi.mit.edu/help/img/netukix.htm sonyericsson ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/fasauer.htm cheap oxycontin] [http://www.jeffco.edu/ctl/help/nifi.htm ericsson ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/spbrunt.htm cheap norco] [http://www.howardcollege.edu/Athletics/components/com_news/cefairch.htm free weird ringtones] [http://esi.mit.edu/help/img/lyxo.htm cheap alprazolam] [http://www.howardcollege.edu/Athletics/components/com_news/bradkins.htm klonopin] [http://www.howardcollege.edu/Athletics/components/com_news/swortbol.htm music ringtones] [http://esi.mit.edu/help/img/nyfe.htm phone ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/giabriel.htm cheap protonix] [http://esi.mit.edu/help/img/zywy.htm free telus ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/poredmon.htm jungle ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/dipost.htm continentalairlines] [http://www.jeffco.edu/ctl/help/pifo.htm humour ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/netorrez.htm bmw car] [http://www.jeffco.edu/ctl/help/kerujux.htm christian ringtones] [http://www.jeffco.edu/ctl/help/tupi.htm zoloft online] [http://esi.mit.edu/help/img/wyhon.htm free disney ringtones] [http://esi.mit.edu/help/img/gunop.htm mobile ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/vagilpin.htm motorola ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/fidiniz.htm cheap ultram] [http://www.jeffco.edu/ctl/help/tevun.htm nextel ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/serattik.htm vigrx] [http://esi.mit.edu/help/img/rybyhif.htm skelaxin online] [http://www.howardcollege.edu/Athletics/components/com_news/wenaegel.htm cingular ringtones] [http://www.jeffco.edu/ctl/help/byzuje.htm philips ringtones] [http://www.jeffco.edu/ctl/help/hice.htm imitrex online] [http://www.howardcollege.edu/Athletics/components/com_news/brslatrie.htm free voice ringtones] [http://esi.mit.edu/help/img/tugu.htm buy vigrx] [http://www.howardcollege.edu/Athletics/components/com_news/zuallwhi.htm rap ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/sepinega.htm cheap lotrel] [http://www.jeffco.edu/ctl/help/kywysi.htm tv ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/chmcadoo.htm buy fluoxetine] [http://www.jeffco.edu/ctl/help/runonod.htm free animal ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/laglenwa.htm buy darvocet] [http://www.howardcollege.edu/Athletics/components/com_news/mogriffi.htm synthroid] [http://esi.mit.edu/help/img/nysig.htm anime ringtones] [http://esi.mit.edu/help/img/xubu.htm free free ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/edhooper.htm free free ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/cahartwi.htm car rental] [http://www.jeffco.edu/ctl/help/lunepix.htm cheap alprazolam] 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 13:48, 12 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