popcorn hour

Fuppes binary package for the Popcorn Hour A110 (NMT)

I'm a big fan of fuppes, a free, open source, upnp, dlna media server with transcoding ability. So, I decided to build it for the NMT (well, I've only tested it on my PCH A110).

I only use it to stream flac and mp3 audio files to my denon receiver so I have not tested any of the transcoding ability, let me know if you have success or failure with that..

Included Libraries

I have compiled in support for and included the libraries for:

  • taglib
  • flac
  • lame
  • vorbis
  • ogg

Compile fuppes for the Popcorn Hour

Fuppes can be compiled to run on the PCH, but it has a few dependencies that we'll need to build first.

These are:

  • zlib
  • libpcre
  • libsqlite3
  • libxml2
  • taglib

We'll do these one at a time, but before we start we need to prep our environment for cross compiling..

[update: a compiled binary is available here.]

Popcorn Hour Toolchain on Fedora 10

I've finally got the popcorn hour toolchain to compile on fedora 10.

Here I'll present a step-by-step how-to.

Step 1: Get the toolchain source

First you'll need to get the toolchain source: Syabas NMT (SMP8634) toolchain.

I used the version smp86xx_toolchain.20080505.tar.bz2.

Step 2: Ensure some dependent packages are installed

Next ensure that the following packages are installed, you can use Add/Remove software if you prefer:

 

Toolchain for the Popcorn Hour - Using a VM

After having my PCH A110 for a few weeks I wanted to build some other applications to run on it.. Luckily this has been made rather easy.. Here are some quick and dirty instruction on how I got a build environment up and running to cross compile applications to run on the PCH.

This information is taken from this post on the www.networkedmediatank.com forum.

You'll need three main things. VmWare to run the host OS for the development environment which is available as a Debian Etch 4.0 VmWare image and the Syabas NMT (SMP8634) toolchain.

Building fuppes for the Popcorn Hour (PCH A110)

I've managed to get fuppes cross compiled for the PCH in the VM based toolchain setup by:

  1. Using the tool chain building instructions given in this post
  2. downloaded the source bundles for the dependent libraries (pcre, libxml2, sqlite3)
  3. sourced the toolchain-path.env in my build window.

[update: a compiled binary is available here.]

For each of the dependent libraries I build them using:

$ autoreconf -vfi
$ ./configure --host=mipsel-linux --disable-zlib --prefix=/home/user/popcorn/smp86xx_toolchain.20080505/build_mipsel_nofpu/staging_dir/
$ make
$ make install

This install the libs and header files into the /home/user/popcorn/smp86xx_toolchain.20080505/build_mipsel_nofpu/staging_dir/ folder under lib and include.. I think that is what I want (??) sounds fair.

Now this all feels good so far..

Getting MediaTomb-flac-Denon 3808 to play nice

I've recently purchased a Denon 3808 AVR (very nice), but have had trouble serving flac files from mediatomb on my Popcorn Hour A110 (PCH). Everything looks good until I attempt to play a file then the 3808 gives me a "File Format Error".

Anyway, someone on a forum pointed out that it works on his Denon (not a 3808) if he adds the follow lines to his mediatomb's config.xml (I added them immediately after the opening <server> tag):

<magic-file>usr/share/file/magic</magic-file>
<filesystem-charset>ISO-8859-1</filesystem-charset>
<metadata-charset>ISO-8859-1</metadata-charset>

That first line looks very specific to the installation of mediatomb on the PCH, and I expect in most cases wont be needed or will need to be changed (note the lack of leading / on the path)...

The next thing is to ensure that transcoding is disabled for flac.. (again found in the config.xml file).

On my setup the config.xml file was found in /share/Apps/mediatomb/config/config.xml

This didn't make any difference until I killed mediatomb, deleted its mediatomb.db file (destroying its current database), re-starting it and re-importing my media files (flac)..

Now they all work just as I'd expect.

Syndicate content