Talk:Media Library

From AwkwardTV
Jump to: navigation, search

What is the point of copying an iPod DB to the AppleTV ?

This is freaking cool: it's possible to create a program to manage the Apple TV DB over the network!

Exactly, it allows you to manage what's visible on the AppleTV without having it synced to any one machine. I have gotten it working with AVI and MKV files (with the appropriate QT components installed) by further modifying GNUpod in the manner that I used to put MOV files in it. Also you can mount a remote AFP share on /mnt/Media (even read only) and have it source the media library from there. Possibilities include some kind of switch to change between a remote library and a local library. --Czarcats 01:29, 26 March 2007 (CEST)

Just some random notes on GNUpod: the $rh{time} is the length of the file in milliseconds. I commented out $rh{bitrate}, $rh{filesize}, and $rh{srate} and it seems to be ok. Next up: figure out the length of an AVI accurately --Czarcats 09:42, 26 March 2007 (CEST)

$rh{time} = `midentify $file|grep ID_LENGTH|cut -d \= -f 2` * 1000; quick hack to calculate length for avi. must have midentify (in TOOLS with mplayer) and mplayer in path. Next up: thumbnails. --Czarcats 10:33, 26 March 2007 (CEST)

Could someone explain how to apply a diff, and what I apply it to. I tried reading the patch man page, and understand that is the command I should be suing, but I am still unsure exactly what I am diff'ing (the .gz file, the folder?) I really want to get this patched up, so I can start adding my xvid movies to my AppleTV. Thanks! - kupan787

Basically, after you've downloaded and unpacked the tar.gz for gnupod, cd to that directory from the command line, and run the command: patch -p0 < patch.diff (if you downloaded the patch to patch.diff and put it in the same folder that you unpacked gnupod to.) Gnupod has some additional perl requirements that may not already be installed if you're doing this on a mac. You'll probably need to download+compile+install Expat in addition to the various perl modules. I'll be glad to help people with this on the IRC channel if you have specific troubles, but at this stage you're going to want to at least be able to grok perl to use this.--Czarcats 08:10, 28 March 2007 (CEST)

Allright so I tried to get GNUpod to run on the appletv. CPAN is already there but there's no make or any compiler, so the dependancies won't install anyways (Unicode::String at least has a component that needs to be compiled in C). There's another program called SyncPOD that has less dependancies but still requires Unicode::String to do conversion to UTF16. Maybe there's some other way to do it. --Czarcats 07:17, 29 March 2007 (CEST)

CzarCats: if you're still interested in getting this working (I am), I can take care of the Unicode::String dependency. Please email me if you're still around. --Eagle 17:46, 24 July 2007 (CEST)

I still check back here occasionally, but I've stopped doing any dev work on the appletv. I use the files plugin to play video without having to mess with the media library at all, so that basically handles all the function I wanted out of the device. I'd be glad to help you out if you really want to, but I'm not sure how useful running it on the appletv itself would be anymore. Anyways my email is my username at --Czarcats 11:40, 16 August 2007 (CEST)

Developing iTunes Clone to Sync Content with Apple TV

I recently discovered Songbird,, which is a multi-platform media player and library (iTunes clone) with a plugin architecture.

I am in the planning stage of creating a plugin to sync content to an AppleTV (via SSH but other protocols could be used). I need some assistance in reading the Media Library file and transferring data across (and probably rewriting the media library file once complete). --Bog 01:09, 22 January 2008 (CET)