[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 
[200] [IDEA] Subsonic on C200?
04-02-2010, 11:01 AM (This post was last modified: 04-02-2010 11:13 AM by arfo.)
Post: #1
Lightbulb [IDEA] Subsonic on C200?
check out subsonic: http://www.subsonic.org - it's basically a media (mostly music) streaming jukebox..

would it be possible to use the web interface of subsonic on the C200? I love this jukebox, it's totally clean, fast and feature-rich! I used it some time on my windows home server to stream my music from my home to other countries. worked great! now I am home again and would love to see that on my C200 as well.

since it is open source, what do u think: how much effort would it need to adapt the code so that it's working with the C200 browser?

happy Easter everyone..

EDIT: oh and the integration of a podcast download service and radio/TV streamings makes this think a pretty perfect central interface for the 'daily C200 tasks'..
Find all posts by this user
Add Thank You Quote this message in a reply
04-02-2010, 11:48 AM (This post was last modified: 04-02-2010 11:48 AM by vaidyasr.)
Post: #2
RE: [IDEA] Subsonic on C200?
Seems to be the source code is bit high (24MB)but I think it can be easily compiled. Let me check on tomorrow and post the results.

Sriram
C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730
Find all posts by this user
Add Thank You Quote this message in a reply
04-02-2010, 11:48 AM
Post: #3
RE: [IDEA] Subsonic on C200?
I had a quick look at it's homepage and it seems to depend upon Java 6 (JRE or JDK). Here's some dependency packages installed on a FreeNAS, for reference:
$ pkg_add -v -r xtrans
$ pkg_add -v -r xproto
$ pkg_add -v -r xextproto
$ pkg_add -v -r javavmwrapper
$ pkg_add -v diablo-jre-freebsd6.i386.1.6.0.07.02.tbz

Audio, video, disco - I hear, I see, I learn.
Wiki. Wiki? Wiki!
Find all posts by this user
Add Thank You Quote this message in a reply
04-02-2010, 12:38 PM (This post was last modified: 04-02-2010 12:39 PM by arfo.)
Post: #4
RE: [IDEA] Subsonic on C200?
(04-02-2010 11:48 AM)vaidyasr Wrote:  Seems to be the source code is bit high (24MB)but I think it can be easily compiled. Let me check on tomorrow and post the results.

wow thats a quick response, but actually I was talking about a different approach:

* using the web interface only. the java based server should (IMHO) stay hosted on a seperate server (like for my case, a windows home server). that way, we only would have to change the web interface to work with the C200! And, all the work will be done on the server (like nightly podcast downloads, transcoding etc.). AND we wouldn't have to compile anything.. Smile
I tried to access it with the "title" command (http://server:port as you would access on your PC) - but my C200 crashed every time I tried.
The HTML code is probably much too sophisticated for the gaya browser. but with a adapted C200/PCH theme, I guess it could be possible, right?

* The next-best approach (and necessary anyway for the one before) is to access only the stream with the c200. Like in squeezebox, you can control the streams remotely with the web interface. That way I could just start the stream on c200 and control the playlist with my laptop or any other browser. Would be perfect! But my C200 is not able to play or even start

Code:
http://IP:5555/stream?player=1&suffix=.mp3

tried both to start it with a playlist (m3u & pls) and with a simple HTTP page and an AOD link to it. It fails completely.. Any ideas here?
Find all posts by this user
Add Thank You Quote this message in a reply
11-24-2010, 12:04 PM
Post: #5
RE: [IDEA] Subsonic on C200?
Interesting! I just found out about Subsonic and I was wondering if it is possible to run the server on the C-200. I think the requirements for Stand-alone installation are met by the C-200:
Quote:"Requirements: Sun Java 5 or later

This is Subsonic with an embedded Jetty server, and can be installed on any Windows, Linux, Unix, FreeNAS, unRAID etc operating system. "

Since the OS of the C-200 (Linux embedded) isn't really that different from a FreeNAS-device (also Linux embedded), with the exception of advanced multimedia capability on the C-200, it should be able to run. The C-200 already uses JAVA (although I'm not sure if this is at least version 5, but I would guess so), the hardware is fast enough (if a FreeNAS can run Subsonic, why should the C-200 not), so it's all about the question if lighttpd/gaya can run the software.

Update:
on second thought, on the Subsonic-forum they mention you need a full install of FreeNAS, not the embedded version... This because of some additional requirements...

Is it possible to make Subsonic run as a server on the C-200?
Find all posts by this user
Add Thank You Quote this message in a reply
02-24-2011, 02:37 AM
Post: #6
RE: [IDEA] Subsonic on C200?
I really want this to happen, is it possible?
Find all posts by this user
Add Thank You Quote this message in a reply
02-24-2011, 02:20 PM
Post: #7
RE: [IDEA] Subsonic on C200?
There is no Java 5 or 6 yet on the C200.

But vaidyasr is working on it Wink
http://www.networkedmediatank.com/showth...?tid=49582
Find all posts by this user
Add Thank You Quote this message in a reply
04-21-2011, 03:59 PM
Post: #8
RE: [IDEA] Subsonic on C200?
Anyone's got news on this?


Nothing lasts forever. It is especially true for electronic devices. Thank God, consumerism will make you happy to purchase a more fashionable device as soon as the old one starts to fail.
Find all posts by this user
Add Thank You Quote this message in a reply
04-21-2011, 04:48 PM
Post: #9
RE: [IDEA] Subsonic on C200?
Java 6 have been cross compiled by vaidyasr, you can get it in ipkg:
http://www.networkedmediatank.com/showth...?tid=45424
But it's a bit slow, only working in interpreted mode.

So with java on C200, we could try to run subsonic server on it, but not the web interface. (and probably no local sound output)
Find all posts by this user
Add Thank You Quote this message in a reply
05-06-2011, 12:13 PM
Post: #10
RE: [IDEA] Subsonic on C200?
How about running only the web interface as ARFO originally requested ?

I think this is a better approach as i think that it will be too slow if it is run on the popcorn hour.

Is there anyway to do this ?
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
  [200] Airplay server for C200 and A100 popcornmix 335 140,960 05-22-2013 11:01 PM
Last Post: jreijling
  Is there a FTP CLIENT i can install on my C200? parpagnas 0 124 05-19-2013 12:45 PM
Last Post: parpagnas
  [400] how to convert scripts from c200 (html+php) to a400 (javascript or bash or ???) ? dmhwsm 0 447 02-10-2013 05:39 PM
Last Post: dmhwsm
  [200] Using PopcornHour C200 as frontend for MythTV/MythWeb schaumburg 13 6,881 01-01-2013 01:02 AM
Last Post: flitter
  [200] Compiling SqueezeSlave for C200 papaiannis 15 3,649 12-21-2012 04:54 PM
Last Post: papaiannis
  [200] C200 and software raid xray 14 2,588 11-19-2012 08:41 PM
Last Post: seba0902
  [200] Network command for shut down on C200 JamesTF 6 1,462 11-14-2012 09:24 PM
Last Post: opfeifer
  [200] [Apps] MPDJukebox for A200/C200 Grael 15 5,731 04-29-2012 11:13 PM
Last Post: Micki
  [200] Spdif output from squeezeslave for C200 papaiannis 1 801 04-14-2012 08:16 AM
Last Post: michaelvv
  [200] Access to system console on PCH-C200 xzjt31 10 4,459 03-27-2012 08:32 PM
Last Post: bworby

Forum Jump: