Your Digital Media Has Never Looked So Good

 
hattori.hanzo
Topic Author
Posts: 9
Joined: Sun Jul 09, 2006 6:16 pm
Location: Sydney

Displaying RSS headlines on a M1000

Tue Jul 11, 2006 10:23 pm

I would like to display RSS headlines on a M1000.

I have a shell script which will download the feed and parse the headlines to screen or text file.

How do I send the text, line by line with a pause to the M1000?

Thanks
 
mcfh
Posts: 678
Joined: Wed Dec 15, 2004 8:39 am
Location: London, UK
Contact:

Wed Jul 12, 2006 1:03 pm

Save yourself the effort and use my app, or use the sketch command via telnet.
type sketch then help for more info
M2000, M1000 & R1000 on iTunes and XP SP2
Integrate your Soundbridge with Windows
 
hattori.hanzo
Topic Author
Posts: 9
Joined: Sun Jul 09, 2006 6:16 pm
Location: Sydney

Wed Jul 12, 2006 2:43 pm

Thanks but I would prefer not to run a Windows box 24/7 for this.

I am looking into a linux solution to run on one of the various low power NAS solutons (NSLU2 w/ mt-dapp) which are currently avaliable which appears to be more suitable for the job.
 
Mitch
Posts: 38
Joined: Thu Dec 01, 2005 3:17 pm

Wed Jul 12, 2006 3:03 pm

Telnet into the Roku and use the sketch command.

I wrote a python script (on the nslu2) which parses RSS feeds and display them on the Roku screen - worked great. Python has library support for both telnet, rss, http, and word wrapping - everything you need.

I can dig out the script and send it to you if you want?
 
fizze
Posts: 191
Joined: Wed May 03, 2006 5:46 am
Location: Austria
Contact:

Thu Jul 13, 2006 12:29 am

well python is kinda not really available on a NSLU2.
and there are plenty of rss parsers around, the problem is to maintain a connection and "grab" some activities off the remote/soundbridge to start the rss feeding.
Soundbridge M1001
de-u/c'd NSLU2 Unslung 6.8 - mt-daapd svn-1696
 
Mitch
Posts: 38
Joined: Thu Dec 01, 2005 3:17 pm

Thu Jul 13, 2006 1:41 pm

Errr, python is totally available on the NSLU2.
I have my python scripts winning on my slug. I also run the lastfm proxy which is a reasonably complex python script. I've seen no issues with python on an unslung slug.

You might need to install the python package but it definately works.
Maybe try : ipkg install python
 
Mitch
Posts: 38
Joined: Thu Dec 01, 2005 3:17 pm

Thu Jul 13, 2006 1:56 pm

I hacked mt-dappd to fire up an rss script when I browse certain playlists, so I browse the 'weather' playlist and I see the weather feed displayed on the soundbridge.

You might get some mileage out of hacking a firefly transcoding plugin to fire up some code when you play a 'special' song type.

Or you could scrape the SB web page for the SB to be playing a certain song - and trigger your script when that happens.

Another way would for the app on the slug to intercept soundbridge remote control commands (Roku have a telnet command to do this) and listen for a 'special' keypress. All other keypresses get passed through to the SB. I think one of the PC control apps do this and listen for a double tap of brightness.
 
JensenDK
Posts: 1
Joined: Sat Sep 09, 2006 3:31 am

RSS Feed with a script in Maxtor MSS +

Sat Sep 09, 2006 3:54 am

Hi Mitch
It seems like you have a good solution on, how to display RSS feed on my M1001 I also have a Maxtor MSS +, it would be nice if I just could load a litle aplication in this MSS+, and then it would be possibel just to browse to a playlist called RSS. If I'am right that you have a solution, is it then possible for You to give me a little how to do.
 
fizze
Posts: 191
Joined: Wed May 03, 2006 5:46 am
Location: Austria
Contact:

Sun Sep 10, 2006 11:15 am

hm I totally forgot about that thread ;)

Yup, python is available for the nslu2, but I heard it chews up lots of performance there. Well Im willing to try this. Viewing rss or whatever is quite nice.
Soundbridge M1001
de-u/c'd NSLU2 Unslung 6.8 - mt-daapd svn-1696
 
WeeboTech
Posts: 114
Joined: Mon Mar 28, 2005 9:48 am

I have a basic C tool to send telnet commands to SB.

Thu Nov 09, 2006 8:30 am

hattori.hanzo wrote:
Thanks but I would prefer not to run a Windows box 24/7 for this.

I am looking into a linux solution to run on one of the various low power NAS solutons (NSLU2 w/ mt-dapp) which are currently avaliable which appears to be more suitable for the job.


I've written a command line control shell that may be useful in this situation.
I use it with speechd and festival.

Whenever I get a nagios alert, a message is emailed to a machine housing the speechd (voice synthesizer). The daemon fires off a command shell that then connects to 3 different SB's in the apartment which marquee's the message.

If you think the cli utility is worth while I can make my beta code available.

It would need to be compiled on the platform of choice.
In my case I was able to get it to work with my Kuro box.

Although I do have an NSLU2, I have not unslung it yet. So I can't say how easy it would be to compile it there.
 
fizze
Posts: 191
Joined: Wed May 03, 2006 5:46 am
Location: Austria
Contact:

Wed Nov 14, 2007 10:12 am

Hm, Mitch, any chance you're reading this and that your python source may be available somewhere? ;)
Soundbridge M1001
de-u/c'd NSLU2 Unslung 6.8 - mt-daapd svn-1696

Who is online

Users browsing this forum: No registered users and 2 guests