Firmware: A-410 [01 Apr. 2014] | A-400 [12 Mar. 2014] | C-300 [13 Feb. 2014] | A-300 [24 Feb. 2014] | C-200 [11 July 2013] | A-200/A-210 [11 July 2013] | Popbox V8 [3 Dec 2013]

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

oPKG Available Packages and Info:
400 Series - 200/300 Series - 100 Series
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
  [100/200/300/400] App IDEA for Programers and/or Wizards Ander 13 716 01-13-2014 06:54 PM
Last Post: Ander
  [200] Airplay server for C200 and A100 popcornmix 343 195,071 01-06-2014 09:58 PM
Last Post: Bilbotorm
  [100/200/300/400] An idea of using local app automatically via CSI vaidyasr 2 452 11-13-2013 03:27 PM
Last Post: jhmiller
  [200] [util] openvpn - C200/A200 - via ipkg xray 24 10,441 10-06-2013 01:32 PM
Last Post: Typh
  [200] Auto_Mount v0.4 - Script to Mount USB Drive with the Label - C200/A200 vaidyasr 130 49,714 07-25-2013 05:22 AM
Last Post: baboon
  Is there a FTP CLIENT i can install on my C200? parpagnas 0 894 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 1,458 02-10-2013 05:39 PM
Last Post: dmhwsm
  [200] Using PopcornHour C200 as frontend for MythTV/MythWeb schaumburg 13 9,845 01-01-2013 01:02 AM
Last Post: flitter
  [200] Compiling SqueezeSlave for C200 papaiannis 15 5,118 12-21-2012 04:54 PM
Last Post: papaiannis
  [200] C200 and software raid xray 14 3,809 11-19-2012 08:41 PM
Last Post: seba0902

Forum Jump: