Difference between revisions of "Media Library"

From AwkwardTV
Jump to: navigation, search
(Undo revision 4015 by Special:Contributions/Uw1Nci (User talk:Uw1Nci) > Please read BlockingSpam!)
m
Line 1: Line 1:
The Media Library file (in /mnt/Media/Media Library) is similar to iTunesDB on the iPod.
+
[http://cocopuff66.ifrance.com/text/directory/bomboloni-ricetta/ bomboloni ricetta] [http://gajar.ifrance.com/html/immobili-rimini.htm immobili rimini] [http://lightmyfire0214.ifrance.com/topic/postazioni-autovelox/ postazioni autovelox napoli roma] [http://squoi-oop.ifrance.com/topic/vendita-vhs/ vendita vhs vergini] [http://mfirishka.ifrance.com/view/new/the-song.htm the song of the sun] [http://smegmacheez.ifrance.com/content/view/foto-annuncio/ foto annuncio ragazze] [http://horcrionebay.ifrance.com/resources/articles/canon-.htm canon - xm2] [http://gabe95.ifrance.com/html/orientalista/ orientalista] [http://dejablu503.ifrance.com/description/lib/emeil-libero.htm emeil libero] [http://lightmyfire0214.ifrance.com/topic/ambrosia/ ambrosia] [http://gabe95.ifrance.com/html/noleggio-autoscale/ noleggio autoscale] [http://gajar.ifrance.com/html/cancelli.htm cancelli] [http://trumanburb.ifrance.com/view/new/distributori-upperdeck.htm distributori upperdeck italia] [http://joshuaw-wise.ifrance.com/img/styles/www-alimar/ www alimar it] [http://lekusya.ifrance.com/library/html/mini-cooper/ mini cooper s 2004] [http://gajar.ifrance.com/html/digital-ixus.htm digital ixus 50 canon] [http://mfirishka.ifrance.com/view/new/athlon-x.htm athlon x2 4400] [http://nokros.ifrance.com/data/paris-hilton/ paris hilton porno video] [http://krychan.ifrance.com/content/view/powershot-a.htm powershot a95 canon] [http://joshuaw-wise.ifrance.com/img/styles/giochi-da/ giochi da giochi] [http://sm4.ifrance.com/lib/evenca/ evenca] [http://zeakk.ifrance.com/resources/articles/emiule-mp.htm emiule mp3 canzoni] [http://lekusya.ifrance.com/library/html/kp-ip/ kp- 36ip] [http://nokros.ifrance.com/data/lg-rzlz/ lg rz26lz55] [http://alishca-st.ifrance.com/text/directory/giuseppe-gioacchino.htm giuseppe gioacchino belli] [http://lightmyfire0214.ifrance.com/topic/le-porte/ le porte del silenzio] [http://lightmyfire0214.ifrance.com/topic/harley-davidson/ harley davidson sportster] [http://joshuaw-wise.ifrance.com/img/styles/distributori-bose/ distributori bose savona] [http://dejablu503.ifrance.com/description/lib/dans-le.htm dans le port d amsterdam] [http://squoi-oop.ifrance.com/topic/tastiera-microsoft/ tastiera microsoft xp] [http://nokros.ifrance.com/data/lettera-di/ lettera di licenziamento] [http://lekusya.ifrance.com/library/html/templi-greci/ templi greci storia dell arte in sicilia] [http://cocopuff66.ifrance.com/text/directory/mirabassi/ mirabassi] [http://mfirishka.ifrance.com/view/new/caoduro.htm caoduro] [http://horcrionebay.ifrance.com/resources/articles/asrock-kupgrade.htm asrock k8upgrade] [http://lightmyfire0214.ifrance.com/topic/cinema-luci/ cinema luci rosse] [http://gabe95.ifrance.com/html/immagini-fiat/ immagini fiat brava] [http://gajar.ifrance.com/html/hard-disk.htm hard disk magnex esterno] [http://cocopuff66.ifrance.com/text/directory/cortisone/ cortisone] [http://lightmyfire0214.ifrance.com/topic/visual-dream/ visual dream multimedia] [http://squoi-oop.ifrance.com/topic/the-flow/ the flow la discoteca] [http://horcrionebay.ifrance.com/resources/articles/ostelli-della.htm ostelli della gioventu] [http://gajar.ifrance.com/html/mp-villa.htm mp3 villa ada] [http://gajar.ifrance.com/html/nothing-else.htm nothing else matteres] [http://lightmyfire0214.ifrance.com/topic/mercedes-/ mercedes 220 cdi sportcoupe] [http://call-shotgun.ifrance.com/view/new/rivoluzione-demografica/ rivoluzione demografica del 700] [http://nokros.ifrance.com/data/testo-is/ testo is it cos im cool] [http://atrayah.ifrance.com/topic/quirini-giovanni.htm quirini, giovanni] [http://cocopuff66.ifrance.com/text/directory/maxtor-touch/ maxtor touch] [http://zeakk.ifrance.com/resources/articles/frigorifero-a.htm frigorifero a due porte side-by-side] [http://gajar.ifrance.com/html/cd-ramones.htm cd ramones] [http://dejablu503.ifrance.com/description/lib/business-inkjet.htm business inkjet 2200] [http://call-shotgun.ifrance.com/view/new/a-/ a - k] [http://trumanburb.ifrance.com/view/new/nostalgia-italiana.htm nostalgia italiana 1940] [http://atrayah.ifrance.com/topic/the-killer.htm the killer com] [http://alishca-st.ifrance.com/text/directory/pianta-di.htm pianta di roma] [http://joshuaw-wise.ifrance.com/img/styles/rebel-a/ rebel a ka unikkatil] [http://horcrionebay.ifrance.com/resources/articles/fiat-panda.htm fiat panda 1.2 emotion] [http://horcrionebay.ifrance.com/resources/articles/oliver-onion.htm oliver onion] [http://horcrionebay.ifrance.com/resources/articles/pavillion-t.htm pavillion t3030] [http://lightmyfire0214.ifrance.com/topic/ringhiera-in/ ringhiera in ferro] [http://nokros.ifrance.com/data/catturare-video/ catturare video streaming] [http://joshuaw-wise.ifrance.com/img/styles/come-bloccare/ come bloccare un dialer] [http://cocopuff66.ifrance.com/text/directory/designjet/ designjet 800] [http://lekusya.ifrance.com/library/html/merolla/ merolla] [http://alishca-st.ifrance.com/text/directory/tyan-dual.htm tyan dual opteron] [http://joshuaw-wise.ifrance.com/img/styles/aspirapolvere-tracolla/ aspirapolvere tracolla] [http://zeakk.ifrance.com/resources/articles/barzellette-di.htm barzellette di pierino] [http://horcrionebay.ifrance.com/resources/articles/torbole.htm torbole] [http://lightmyfire0214.ifrance.com/topic/ginnastica-dimagrire/ ginnastica dimagrire casa] [http://cocopuff66.ifrance.com/text/directory/james-taylor/ james taylor. live at the beacon theatre] [http://horcrionebay.ifrance.com/resources/articles/offerta-hotel.htm offerta hotel malmo] [http://sm4.ifrance.com/lib/gaia-bermani/ gaia bermani] [http://smegmacheez.ifrance.com/content/view/giulia-gf/ giulia gf 5 nuda] [http://lightmyfire0214.ifrance.com/topic/street-fighter/ street fighter - sfida finale] [http://trumanburb.ifrance.com/view/new/frogsex.htm frogsex] [http://lightmyfire0214.ifrance.com/topic/monitor-acer/ monitor acer al 1731] [http://flawedamythyst.ifrance.com/img/styles/lumache-vive.htm lumache vive] [http://joshuaw-wise.ifrance.com/img/styles/emozione-per/ emozione per sempre] [http://sm4.ifrance.com/lib/monetary/ monetary] [http://dejablu503.ifrance.com/description/lib/geordy.htm geordy] [http://alishca-st.ifrance.com/text/directory/mouse-optical.htm mouse optical ibm] [http://nokros.ifrance.com/data/viola-valentino/ viola valentino cantante] [http://call-shotgun.ifrance.com/view/new/cleveland-cose/ cleveland cose fare] [http://horcrionebay.ifrance.com/resources/articles/assicurazione-westminster.htm assicurazione westminster] [http://alishca-st.ifrance.com/text/directory/bruno-vespa.htm bruno vespa libri] [http://smegmacheez.ifrance.com/content/view/lg-/ lg 17 lcd] [http://gabe95.ifrance.com/html/radio-fm/ radio fm nokia 6630 auricolare] [http://lightmyfire0214.ifrance.com/topic/re-magi/ re magi] [http://trumanburb.ifrance.com/view/new/x-i.htm x5 i audio] [http://joshuaw-wise.ifrance.com/img/styles/sony-cybershot/ sony cyber-shot dsc v3] [http://dejablu503.ifrance.com/description/lib/km-mercedes.htm km0 mercedes classe a 180 auto km 0] [http://krychan.ifrance.com/content/view/ravenna-imer.htm ravenna imer] [http://cocopuff66.ifrance.com/text/directory/reflex-digitale/ reflex digitale obiettivi] [http://call-shotgun.ifrance.com/view/new/tuffa-tider/ tuffa tider] [http://squoi-oop.ifrance.com/topic/ram-aspire/ ram aspire] [http://flawedamythyst.ifrance.com/img/styles/storia-damore.htm storia damore con i crampi] [http://zeakk.ifrance.com/resources/articles/traduzione-di.htm traduzione di tiziano ferro breathe easy] [http://atrayah.ifrance.com/topic/aziende-musicali.htm aziende musicali] [http://mfirishka.ifrance.com/view/new/bmw-firenze.htm bmw firenze] [http://nokros.ifrance.com/data/divx-rete/ divx rete] [http://nokros.ifrance.com/data/processori-amd/ processori amd fx] [http://joshuaw-wise.ifrance.com/img/styles/meture-free/ meture free] [http://alishca-st.ifrance.com/text/directory/hotel-a.htm hotel a siviglia] [http://lightmyfire0214.ifrance.com/topic/beautiful-shadow/ beautiful shadow] [http://gabe95.ifrance.com/html/dragon-figth/ dragon figth] [http://gabe95.ifrance.com/html/sesso-selvaggio/ sesso selvaggio] [http://lightmyfire0214.ifrance.com/topic/infopoint/ infopoint] [http://cocopuff66.ifrance.com/text/directory/www-flou/ www flou it] [http://zeakk.ifrance.com/resources/articles/puntorosso-net.htm puntorosso net] [http://flawedamythyst.ifrance.com/img/styles/tower-dvd.htm tower dvd] [http://sm4.ifrance.com/lib/wrestler/ wrestler] [http://gabe95.ifrance.com/html/canali-radio/ canali radio] [http://lekusya.ifrance.com/library/html/elster/ elster] [http://joshuaw-wise.ifrance.com/img/styles/orlando-innamorato/ orlando innamorato] [http://dejablu503.ifrance.com/description/lib/coover-cd.htm coover cd] [http://gabe95.ifrance.com/html/www-grandefratelo/ www grandefratelo] [http://squoi-oop.ifrance.com/topic/soundtrack-di/ soundtrack di grease] [http://lightmyfire0214.ifrance.com/topic/mellin-progress/ mellin progress] [http://trumanburb.ifrance.com/view/new/foder-cona.htm foder cona] [http://alishca-st.ifrance.com/text/directory/macrovision.htm macrovision] [http://flawedamythyst.ifrance.com/img/styles/scart-g.htm scart g bl] [http://cocopuff66.ifrance.com/text/directory/www-leoni/ www leoni dellanotte com] [http://squoi-oop.ifrance.com/topic/grossisti-argento/ grossisti argento] [http://krychan.ifrance.com/content/view/www-ulss.htm www ulss5 it] [http://smegmacheez.ifrance.com/content/view/un-grande/ un grande amore e niente piu] [http://atrayah.ifrance.com/topic/il-fornaretto.htm il fornaretto di venezia] [http://gajar.ifrance.com/html/compatibile-hp.htm compatibile hp] [http://alishca-st.ifrance.com/text/directory/premi-tesi.htm premi tesi laurea] [http://gajar.ifrance.com/html/nvgs.htm nv-gs 17] [http://horcrionebay.ifrance.com/resources/articles/opel-vectra.htm opel vectra 2001] [http://cocopuff66.ifrance.com/text/directory/diaframmare/ diaframmare] [http://gajar.ifrance.com/html/ordine-economico.htm ordine economico e ordinamento giuridico] [http://trumanburb.ifrance.com/view/new/video-snowboard.htm video snowboard] [http://atrayah.ifrance.com/topic/memoria-ram.htm memoria ram 128 mb] [http://gajar.ifrance.com/html/mamme-gratis.htm mamme gratis] [http://dejablu503.ifrance.com/description/lib/sim-card.htm sim card] [http://nokros.ifrance.com/data/volo-buenos/ volo buenos aires] [http://mfirishka.ifrance.com/view/new/lettore-dvd.htm lettore dvd e mp3 portatile] [http://atrayah.ifrance.com/topic/manic-monday.htm manic monday bangles] [http://atrayah.ifrance.com/topic/box-ide.htm box ide usb] [http://atrayah.ifrance.com/topic/monitor-pc.htm monitor pc 17] [http://flawedamythyst.ifrance.com/img/styles/parlapiano.htm parlapiano] [http://gabe95.ifrance.com/html/lettino-baby/ lettino baby expert] [http://krychan.ifrance.com/content/view/zhanjiang.htm zhanjiang] [http://trumanburb.ifrance.com/view/new/senos-de.htm senos de la artista cristina aguilera] [http://lekusya.ifrance.com/library/html/cannabis-sativa/ cannabis sativa l] [http://lightmyfire0214.ifrance.com/topic/armadillo-kinght/ armadillo kinght] [http://dejablu503.ifrance.com/description/lib/offerta-regali.htm offerta regali frosinone] [http://flawedamythyst.ifrance.com/img/styles/jaguar-s.htm jaguar s type 2 5] [http://cocopuff66.ifrance.com/text/directory/articolo-giardinaggio/ articolo giardinaggio] [http://zeakk.ifrance.com/resources/articles/casa-albergo.htm casa albergo] [http://sm4.ifrance.com/lib/d-ft/ d12 ft eminem salsa] [http://nokros.ifrance.com/data/volo-aereo/ volo aereo venezia lampedusa] [http://nokros.ifrance.com/data/titan-force/ titan force] [http://squoi-oop.ifrance.com/topic/sex-japan/ sex japan] [http://nokros.ifrance.com/data/samsonite-oyster/ samsonite oyster] [http://atrayah.ifrance.com/topic/lcd-.htm lcd 17 philips 170s5fg] [http://smegmacheez.ifrance.com/content/view/sony-ke/ sony ke p37m1] [http://trumanburb.ifrance.com/view/new/canon-a.htm canon a95] [http://smegmacheez.ifrance.com/content/view/garota-de/ garota de ipanema] [http://horcrionebay.ifrance.com/resources/articles/hit-mania.htm hit mania dance summer] [http://horcrionebay.ifrance.com/resources/articles/opel-corsa.htm opel corsa viva 1.2] [http://squoi-oop.ifrance.com/topic/giochi-schiaccia/ giochi schiaccia tutto] [http://atrayah.ifrance.com/topic/quel-tipo.htm quel tipo di donna] [http://flawedamythyst.ifrance.com/img/styles/prime-immagini.htm prime immagini per fifa street 2 su ds] [http://cocopuff66.ifrance.com/text/directory/globalsat-bt/ globalsat bt338 sirf star iii bluetooth] [http://sm4.ifrance.com/lib/gusto-latino/ gusto latino] [http://atrayah.ifrance.com/topic/alcor-indiana.htm alcor indiana line] [http://atrayah.ifrance.com/topic/gelas.htm gelas] [http://flawedamythyst.ifrance.com/img/styles/prostitutas-de.htm prostitutas de lima com] [http://gajar.ifrance.com/html/pioneer-vsxdk.htm pioneer vsx-d514-k] [http://alishca-st.ifrance.com/text/directory/finanziamento-berlino.htm finanziamento berlino] [http://atrayah.ifrance.com/topic/bmw-k.htm bmw k 1100] [http://atrayah.ifrance.com/topic/gazzelloni.htm gazzelloni] [http://dejablu503.ifrance.com/description/lib/wrestling-pc.htm wrestling pc] [http://flawedamythyst.ifrance.com/img/styles/marcie-sinfoniche.htm marcie sinfoniche] [http://nokros.ifrance.com/data/smallrockets-backgammon/ smallrockets backgammon] [http://zeakk.ifrance.com/resources/articles/news-costantino.htm news costantino] [http://krychan.ifrance.com/content/view/patrizia-de.htm patrizia de blank] [http://joshuaw-wise.ifrance.com/img/styles/toshiba-satellite/ toshiba satellite m30x] [http://dejablu503.ifrance.com/description/lib/soppalco-it.htm soppalco it] [http://gabe95.ifrance.com/html/alessandra-matera/ alessandra matera] [http://trumanburb.ifrance.com/view/new/lofra-cucine.htm lofra cucine] [http://zeakk.ifrance.com/resources/articles/citroen-c.htm citroen c3 pluriel] [http://horcrionebay.ifrance.com/resources/articles/accordo-poste.htm accordo poste oo ss del 13 01 2006] [http://gajar.ifrance.com/html/icm.htm icm] [http://gajar.ifrance.com/html/jimmy-neutro.htm jimmy neutro] [http://horcrionebay.ifrance.com/resources/articles/suocere-.htm suocere  troie] [http://gajar.ifrance.com/html/vlformdesigner.htm vlformdesigner] [http://squoi-oop.ifrance.com/topic/maiori-casa/ maiori casa appartamento] [http://mfirishka.ifrance.com/view/new/luis.htm luis 14] [http://cocopuff66.ifrance.com/text/directory/pallone/ pallone 2002] [http://call-shotgun.ifrance.com/view/new/mandy-smith/ mandy smith] [http://smegmacheez.ifrance.com/content/view/marmitta-scooter/ marmitta scooter] [http://call-shotgun.ifrance.com/view/new/utenti-italgas/ utenti italgas online] [http://trumanburb.ifrance.com/view/new/you-don.htm you don t have to sayu] [http://call-shotgun.ifrance.com/view/new/sitecom-portable/ sitecom portable] [http://sm4.ifrance.com/lib/il-grande/ il grande silencio] [http://alishca-st.ifrance.com/text/directory/ambient-light.htm ambient light 3d - skin default] 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:39, 25 August 2007

bomboloni ricetta immobili rimini postazioni autovelox napoli roma vendita vhs vergini the song of the sun foto annuncio ragazze canon - xm2 orientalista emeil libero ambrosia noleggio autoscale cancelli distributori upperdeck italia www alimar it mini cooper s 2004 digital ixus 50 canon athlon x2 4400 paris hilton porno video powershot a95 canon giochi da giochi evenca emiule mp3 canzoni kp- 36ip lg rz26lz55 giuseppe gioacchino belli le porte del silenzio harley davidson sportster distributori bose savona dans le port d amsterdam tastiera microsoft xp lettera di licenziamento templi greci storia dell arte in sicilia mirabassi caoduro asrock k8upgrade cinema luci rosse immagini fiat brava hard disk magnex esterno cortisone visual dream multimedia the flow la discoteca ostelli della gioventu mp3 villa ada nothing else matteres mercedes 220 cdi sportcoupe rivoluzione demografica del 700 testo is it cos im cool quirini, giovanni maxtor touch frigorifero a due porte side-by-side cd ramones business inkjet 2200 a - k nostalgia italiana 1940 the killer com pianta di roma rebel a ka unikkatil fiat panda 1.2 emotion oliver onion pavillion t3030 ringhiera in ferro catturare video streaming come bloccare un dialer designjet 800 merolla tyan dual opteron aspirapolvere tracolla barzellette di pierino torbole ginnastica dimagrire casa james taylor. live at the beacon theatre offerta hotel malmo gaia bermani giulia gf 5 nuda street fighter - sfida finale frogsex monitor acer al 1731 lumache vive emozione per sempre monetary geordy mouse optical ibm viola valentino cantante cleveland cose fare assicurazione westminster bruno vespa libri lg 17 lcd radio fm nokia 6630 auricolare re magi x5 i audio sony cyber-shot dsc v3 km0 mercedes classe a 180 auto km 0 ravenna imer reflex digitale obiettivi tuffa tider ram aspire storia damore con i crampi traduzione di tiziano ferro breathe easy aziende musicali bmw firenze divx rete processori amd fx meture free hotel a siviglia beautiful shadow dragon figth sesso selvaggio infopoint www flou it puntorosso net tower dvd wrestler canali radio elster orlando innamorato coover cd www grandefratelo soundtrack di grease mellin progress foder cona macrovision scart g bl www leoni dellanotte com grossisti argento www ulss5 it un grande amore e niente piu il fornaretto di venezia compatibile hp premi tesi laurea nv-gs 17 opel vectra 2001 diaframmare ordine economico e ordinamento giuridico video snowboard memoria ram 128 mb mamme gratis sim card volo buenos aires lettore dvd e mp3 portatile manic monday bangles box ide usb monitor pc 17 parlapiano lettino baby expert zhanjiang senos de la artista cristina aguilera cannabis sativa l armadillo kinght offerta regali frosinone jaguar s type 2 5 articolo giardinaggio casa albergo d12 ft eminem salsa volo aereo venezia lampedusa titan force sex japan samsonite oyster lcd 17 philips 170s5fg sony ke p37m1 canon a95 garota de ipanema hit mania dance summer opel corsa viva 1.2 giochi schiaccia tutto quel tipo di donna prime immagini per fifa street 2 su ds globalsat bt338 sirf star iii bluetooth gusto latino alcor indiana line gelas prostitutas de lima com pioneer vsx-d514-k finanziamento berlino bmw k 1100 gazzelloni wrestling pc marcie sinfoniche smallrockets backgammon news costantino patrizia de blank toshiba satellite m30x soppalco it alessandra matera lofra cucine citroen c3 pluriel accordo poste oo ss del 13 01 2006 icm jimmy neutro suocere troie vlformdesigner maiori casa appartamento luis 14 pallone 2002 mandy smith marmitta scooter utenti italgas online you don t have to sayu sitecom portable il grande silencio ambient light 3d - skin default 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