[19. April 2013] A-400 Advanced Network Setup now available | [11 Jan. 2013] Customize your A-400 Home Screen

Firmware: A-400 [13 May 2013] | C-300 [30 Nov. 2012] | A-300 [30 Nov. 2012] | C-200 [21 Jan. 2013] | A-200/A-210 [10 Aug. 2012]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Post Reply 
fuppes 0.629 for NMT - dlna, upnp media server [UPDATED: 31-May-2009]
04-10-2009, 07:53 AM (This post was last modified: 05-31-2009 12:31 AM by Mr Segfault.)
Post: #1
Music fuppes 0.629 for NMT - dlna, upnp media server [UPDATED: 31-May-2009]
Hi,

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..

Disclaimer: I will not be held responsible for any damage or loss caused by this software.

-- Updates --

31-May-2009 [0.629.2]
  • deamon start script now attempts to determine the best connected network interface and modifies the fuppes configuration to suit. This allow fuppes to work without hand configuration on NMTs with wireless adapters.

04-May-2009 [0.629.1]

Ok, I’ve updated the fuppes installer to use CSI’s new format. This provides a few benefits:
  • Ability to install and uninstall via CSI.
  • Automatic scheduled library rescan/rebuild (via cron).
  • Ability to see running/stopped state from CSI.
  • Ability to change state via CSI.
  • Ability to upgrade via CSI without loosing customised settings and db.

The CSI repository is up-to-date and will be kept up-to-date with the latest release.

The new package can not be easily installed manually and should only be installed via CSI. For manual install please use the older package and instructions below.

This release schedules a fuppes database rescan/rebuild each night. To change or disable this feature see instructions section below.

Users wanting to upgrade to this new style package should remove the old style installation first.
  • killall fuppes
  • delete the folder /share/Apps/fuppes
  • remove the fuppes entry from /share/Apps/start_app.sh

-- Included Libraries --

I have compiled in support for and included the libraries for:
  • taglib
  • flac
  • lame
  • vorbis
  • ogg

Of which, I've only tested taglib.

-- Instructions --

A default fuppes.cfg file is included and gets installed to /share/Apps/Fuppes/.fuppes/fuppes.cfg. Modify this file as needed. A few options can be modified via the web interface.

The default port setting is 55555 so direct your browser to http://your-pch-ipaddress:55555 to get to the fuppes web interface.

Music folders can be added via the web interface you need to provide a full path to your music collection, for example /share/Music or /opt/sybhttpd/localhost.drives/NETWORK_SHARE/MUSIC/

Auto scan/update

To modify the autoscan feature you must edit /share/Apps/Fuppes/appinfo.json and either remove or edit the cron entry to meet your requirements.

For details on editing cron entries see this wiki page.

Scanning a large music collection can take some time, but less than 1 hour for around 25000 items.

Once your collection is added, via the web interface, select rebuild library to begin scanning your files.

-- Screenshots --

The initial screen for the fuppes web interface.

[Image: fuppes-popcorn.png]

A screen shot showing the fuppes status screen.

[Image: fuppes-popcorn-status.png]

-- OLD Instructions for old stlye CSI package release --

The only release available is a Community Software Installer (CSI) package.

This original (old and outdated) release can be downloaded from:
-- Manual Install --

It is strongly suggested to install using CSI, but if you must install this by hand, you can unzip the contents then untar the tar file to /share/Apps/fuppes (it must be this location exactly).

Code:
cd /share/Apps
mkdir fuppes
cd fuppes
tar xvf /share/fuppes-0.629.0-order_patch-flac-ogg-virbis-0.1.tar

This will provide you with two scripts for starting fuppes:
  • /share/Apps/fuppes/fuppes.sh
  • /share/Apps/fuppes/fuppesd.sh

-- Known Issues --
  • On first start (during installation) fuppes often stops running. I have not seen it stop any other time.... (Weird). Rebooting your MNT should start it going again.
Find all posts by this user
Add Thank You Quote this message in a reply
04-12-2009, 12:12 AM
Post: #2
Lightbulb RE: fuppes 0.629 for NMT - dlna, upnp media server
Just updated the initial post in indicate that I have now used this build solidly for a day it is appears to work flawlessly and is rock solid.

Cheers.
Find all posts by this user
Add Thank You Quote this message in a reply
04-16-2009, 01:41 AM
Post: #3
RE: fuppes 0.629 for NMT - dlna, upnp media server - Anyone tested?
Hi,

Has anyone tried/tested this? I'm just curious of your success, failures or issues anyone is having.

I am still using it on a daily basis and I am yet to have any issues at all.

Cheers.
Find all posts by this user
Add Thank You Quote this message in a reply
04-22-2009, 01:57 PM
Post: #4
RE: fuppes 0.629 for NMT - dlna, upnp media server
I've previously been running Mediatomb on the Popocornhour, though I'd try this app.

As far as I can tell - streaming from PCH to a Pure Evoke Flow - yes it appears to work well and as you say it rebuilds its database faster than Mediatomb.

Just a couple of questions which the Fuppes wiki doesn't answer (at least not specifically for the PCH):

- is it possible to add directories that are not on the PCH itself but on another device eg NAS?

- can one schedule the database to auto-refresh periodically (like one can with Mediatomb)?


A210 + 1Tb 2.5" SATA internal
A110 (4gb compact flash)
Storage: Synology DS207+ (4Tb) & 2 x Edgestor DAS200 (8Tb)
Display: Sony Bravia KDL55HX853
Amplification: Onkyo TX-NR515
Speakers: 3 x Monitor Audio R180HD; 2 x Monitor Audio R45HD; REL Q-Bass
Logitech Harmony One
Find all posts by this user
Add Thank You Quote this message in a reply
04-23-2009, 01:19 AM (This post was last modified: 04-23-2009 01:21 AM by Mr Segfault.)
Post: #5
RE: fuppes 0.629 for NMT - dlna, upnp media server
Hi Andrew

(04-22-2009 01:57 PM)andrewcj Wrote:  As far as I can tell - streaming from PCH to a Pure Evoke Flow - yes it appears to work well and as you say it rebuilds its database faster than Mediatomb.

Yes, it's much faster.. My main reason for using it over Mediatomb. I'm glad you found the same.

(04-22-2009 01:57 PM)andrewcj Wrote:  - is it possible to add directories that are not on the PCH itself but on another device eg NAS?

I imagine that should be fine, as long as they are always present (ie. if you rebuild DB without your NAS on, obviously it'll drop that content)..

(04-22-2009 01:57 PM)andrewcj Wrote:  - can one schedule the database to auto-refresh periodically (like one can with Mediatomb)?

Sure can, it will just require a cron job which I will add to the installer and I'll post it here as well so you can add it to your setup.. I'll whack one together when I get home..

I'm glad this works for you.

Cheers.
Find all posts by this user
Add Thank You Quote this message in a reply
04-24-2009, 09:19 AM
Post: #6
RE: fuppes 0.629 for NMT - dlna, upnp media server
thanks.

I'm stuck on adding directory from NAS though (assuming one can actually do this with Fuppes).

I might have guessed it wasnt going to be as simple as entering, say, //diskstation/music
(which is the path to the share on a Windows machine) to the content directory settings and hitting 'rebuild database'...

Anyone have an idea what I would enter? Do I need to set up a network share on the PCH eg MUSIC first and then enter a path like

file:///opt/sybhttpd/localhost.drives/NETWORK_SHARE/MUSIC/

in Fuppes?


A210 + 1Tb 2.5" SATA internal
A110 (4gb compact flash)
Storage: Synology DS207+ (4Tb) & 2 x Edgestor DAS200 (8Tb)
Display: Sony Bravia KDL55HX853
Amplification: Onkyo TX-NR515
Speakers: 3 x Monitor Audio R180HD; 2 x Monitor Audio R45HD; REL Q-Bass
Logitech Harmony One
Find all posts by this user
Add Thank You Quote this message in a reply
04-25-2009, 10:32 AM (This post was last modified: 04-27-2009 04:19 PM by andrewcj.)
Post: #7
RE: fuppes 0.629 for NMT - dlna, upnp media server
bump

No - adding external share like

"file:///opt/sybhttpd/localhost.drives/NETWORK_SHARE/MUSIC/ "

doesnt work - in fact it seemed to hang Fuppes completely - I had to manually edit the .cfg file to remove this entry then restart the PCH to get it come back

Still interested to know if this can be achieved? The Fuppes wiki of course is no good because it is not specific to the Popcornhour...


A210 + 1Tb 2.5" SATA internal
A110 (4gb compact flash)
Storage: Synology DS207+ (4Tb) & 2 x Edgestor DAS200 (8Tb)
Display: Sony Bravia KDL55HX853
Amplification: Onkyo TX-NR515
Speakers: 3 x Monitor Audio R180HD; 2 x Monitor Audio R45HD; REL Q-Bass
Logitech Harmony One
Find all posts by this user
Add Thank You Quote this message in a reply
05-01-2009, 08:39 PM
Post: #8
RE: fuppes 0.629 for NMT - dlna, upnp media server
andrewcj

shorten your external share link to /opt/sybhttpd/localhost.drives/NETWORK_SHARE/MUSIC/
Find all posts by this user
Add Thank You Quote this message in a reply
05-02-2009, 12:51 AM
Post: #9
RE: fuppes 0.629 for NMT - dlna, upnp media server
(05-01-2009 08:39 PM)stangman Wrote:  shorten your external share link to /opt/sybhttpd/localhost.drives/NETWORK_SHARE/MUSIC/

Excellent,
Thank you stangman.. I just haven't had time to look into this.
Find all posts by this user
Add Thank You Quote this message in a reply
05-04-2009, 02:32 PM
Post: #10
RE: fuppes 0.629 for NMT - dlna, upnp media server
Just an update to let you know that fuppes is now in the CSI repository and has been updated to the new style installer. This includes scheduled fuppes database rescan/updates.

See first post for updated details.
Find all posts by this user
Add Thank You Quote this message in a reply
05-06-2009, 04:28 PM (This post was last modified: 05-12-2009 09:02 AM by andrewcj.)
Post: #11
RE: fuppes 0.629 for NMT - dlna, upnp media server
(05-01-2009 08:39 PM)stangman Wrote:  andrewcj

shorten your external share link to /opt/sybhttpd/localhost.drives/NETWORK_SHARE/MUSIC/
thanks but unfortunately this didnt work for me - my share is 'music' so I was careful to add this string in correct case (from experience with Yamj, index.htm etc, getting the case wrong means the thing usually doesnt work). Rebuilt database, but all I could see from my Evoke was the title of the share - there was no searchable content underneath. So, for me at least, Fuppes doesnt allow me to add content which is external to the PCH hard drive.

What would be nice is if PCH could aggregate content like the MyIHome software, I'm guessing this is not possible?...

EDIT - I've gone back to using Mediatomb. I found (and so did my wife) that certain music tracks would just end abruptly when streaming to the Evoke radio. I've never experienced this issue using Mediatomb.

I can live with the slightly longer time to index the music - most of my music collection is on a NAS anyway, there's only a small subset on the PCH itself. And as we've found, Fuppes cant access the NAS content any more than Mediatomb can...


A210 + 1Tb 2.5" SATA internal
A110 (4gb compact flash)
Storage: Synology DS207+ (4Tb) & 2 x Edgestor DAS200 (8Tb)
Display: Sony Bravia KDL55HX853
Amplification: Onkyo TX-NR515
Speakers: 3 x Monitor Audio R180HD; 2 x Monitor Audio R45HD; REL Q-Bass
Logitech Harmony One
Find all posts by this user
Add Thank You Quote this message in a reply
[+] 1 user says Thank You to andrewcj for this post
05-28-2009, 11:03 AM
Post: #12
RE: fuppes 0.629 for NMT - dlna, upnp media server
Hi,

Im having trouble installing this using CSI.

I think it installs fine as it creates directories in the APPS folder on the NMT and I can start/stop the service from the CSI.

However when I browse to the url from my PC i get a page cannot be displayed, and my Roku doesnt see the server either.

I have just installed MediaTomb using CSI and that works a treat.

I wondered if it was because I was using wireless to connect as it looks as if in the config file that it is using eth0 by default.

Bit stuck as to what to try.

Thanks.
Mark
Find all posts by this user
Add Thank You Quote this message in a reply
05-29-2009, 12:58 AM (This post was last modified: 05-29-2009 01:01 AM by Mr Segfault.)
Post: #13
RE: fuppes 0.629 for NMT - dlna, upnp media server
(05-28-2009 11:03 AM)linton149 Wrote:  I wondered if it was because I was using wireless to connect as it looks as if in the config file that it is using eth0 by default.

Bit stuck as to what to try.

Yes you are correct, your problem is most probably the interface being set to eth0 in the file /share/Apps/Fuppes/.fuppes/fuppes.cfg

I expect you need to change it to wlan0. I don't have a wireless adapter for my PCH so I can't test this. Could you possibly post me the output of running ifconfig on your PCH?

Using this I will create a new installer that will include a new launcher that will decide what interface to use at startup.

Cheers.
Find all posts by this user
Add Thank You Quote this message in a reply
05-29-2009, 12:55 PM
Post: #14
RE: fuppes 0.629 for NMT - dlna, upnp media server
(05-29-2009 12:58 AM)Mr Segfault Wrote:  Yes you are correct, your problem is most probably the interface being set to eth0 in the file /share/Apps/Fuppes/.fuppes/fuppes.cfg

I expect you need to change it to wlan0. I don't have a wireless adapter for my PCH so I can't test this. Could you possibly post me the output of running ifconfig on your PCH?

Using this I will create a new installer that will include a new launcher that will decide what interface to use at startup.

Cheers.

Hi,

Yes changed the config file to wlan0 and works straight away Smile

I was actually editing the wrong config file, i was editing default_fuppes.cfg...... ooopps.

Below is my output, hope this helps.

/opt/sybhttpd/localhost.drives/HARD_DISK # ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:199 errors:0 dropped:0 overruns:0 frame:0
TX packets:199 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:48113 (46.9 KiB) TX bytes:48113 (46.9 KiB)

wlan0 Link encap:Ethernet HWaddr 00:23:CD:B8:A0Big Grin4
inet addr:10.0.0.250 Bcast:10.255.255.255 Mask:255.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5051 errors:0 dropped:0 overruns:0 frame:0
TX packets:3026 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4243396 (4.0 MiB) TX bytes:540322 (527.6 KiB)

/opt/sybhttpd/localhost.drives/HARD_DISK #
Find all posts by this user
Add Thank You Quote this message in a reply
05-29-2009, 01:32 PM
Post: #15
RE: fuppes 0.629 for NMT - dlna, upnp media server
Yes, perfect thanks.

Cheers.
Find all posts by this user
Add Thank You Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [Apps] opkg A100/A110 - Updated 21st Sep vaidyasr 405 84,369 05-15-2013 06:04 PM
Last Post: ricardojrm
Star [CSI] Community Software Installer 2.7.2 ** UPDATED DEC 28th ** Ger Teunis 580 263,310 04-10-2013 12:42 PM
Last Post: timwest73
  Faster PHP server CSI package journey4712 174 61,804 03-30-2013 01:12 PM
Last Post: o34171@rtrtr.com
  NMT remote iPhone native app. racermonoid 390 126,233 03-06-2013 08:01 PM
Last Post: mindnever
  Music Browser for NMT - Updated August, 2nd, 2011 gkreidl 14 8,042 01-19-2013 04:07 PM
Last Post: winfried_laane
  Serviio (DLNA server) RXP 3 2,907 12-30-2012 11:14 AM
Last Post: mikk
  MediatankController 1.2 for iPhone - browse and control your NMT from your phone Niels Leenheer 424 274,241 11-27-2012 03:28 PM
Last Post: jedebe
Star [Apps] Bierdopje 4 NMT PHP script SilverViper 4 1,322 11-26-2012 04:57 PM
Last Post: Djiest
Music MPD installation howto (updated 4 May 2009) gwillem 494 285,469 07-20-2012 09:43 PM
Last Post: krimpenrik
  MediatankController 1.0 for Adobe AIR - browse and control your NMT from your PC Niels Leenheer 232 166,082 05-13-2012 10:48 PM
Last Post: robertazimmerman

Forum Jump: