Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
paul2102
Channel Surfer

Re: My Media - Your Music and Video on the Roku DVP

I am using a Mac, tried this several times with different paths to python. I keep getting the following message when I use springboard.py then click on connect. error: (61,'Connection refused')
Any ideas?
..............
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/httplib.py", line 695, in send
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/httplib.py", line 679, in connect
error: (61, 'Connection refused')
0 Kudos
el_wubo
Visitor

Re: My Media - Your Music and Video on the Roku DVP

"paul2102" wrote:
I am using a Mac, tried this several times with different paths to python. I keep getting the following message when I use springboard.py then click on connect. error: (61,'Connection refused')
Any ideas?
..............
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/httplib.py", line 695, in send
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/httplib.py", line 679, in connect
error: (61, 'Connection refused')


Did you go through the steps to put your Roku in developer mode?
0 Kudos
paul2102
Channel Surfer

Re: My Media - Your Music and Video on the Roku DVP

No, I have been checking the localhost:8001/feed first to see if it worked and I got a 404 page not found message.
Do I have to put it in developer mode first, before checking?
0 Kudos
el_wubo
Visitor

Re: My Media - Your Music and Video on the Roku DVP

"paul2102" wrote:
No, I have been checking the localhost:8001/feed first to see if it worked and I got a 404 page not found message.
Do I have to put it in developer mode first, before checking?


The error you posted looks like what will come out when you click on "Install Client" without the Roku in developer mode.

If you want to test it without putting the roku in development mode just click on "Launch Server" and go to http://localhost:8001 . If you see errors doing that then you should suspect your python path. I'd have to dig back into the forum to see what the right answer for mac is but that has come up before.
0 Kudos
paul2102
Channel Surfer

Re: My Media - Your Music and Video on the Roku DVP

That is what I did. I tried several paths and couldn't find any one for python that worked. I get the same error message when going to localhost:8001 with the server connected or not. error:404 Not Found.

Thanks
0 Kudos
hammerpocket
Visitor

Re: My Media - Your Music and Video on the Roku DVP

The path to Python that is automatically inserted into the configuration works for me. Try dragging "config.ini" from the server folder onto the desktop and restarting springboard.py (to reset defaults). FWIW, this is the path to Python that is in my server configuration:

/System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python

Just a thought: Did you double-check to make sure server_port is set to 8001 in your media server configuration?
0 Kudos
el_wubo
Visitor

Re: My Media - Your Music and Video on the Roku DVP

"paul2102" wrote:
That is what I did. I tried several paths and couldn't find any one for python that worked. I get the same error message when going to localhost:8001 with the server connected or not. error:404 Not Found.

Thanks


Definitely try what hammerpocket suggested.

Let me repeat back what you said to see if I have this right:

You clicked on "Start Server". You were running springboard in debug mode so you immediately saw "(61,'Connection refused')" in your terminal window. You then pointed your browser at http://localhost:8001/feed and got a 404. Am I close?

After you try what hammerpocket suggested, try running rss_server.py directly. If it's a python path problem then launching directly should run rss_server.py with the same python that's successfully running springboard (which is the python springboard suggests you use by default.) While rss_server.py is running try your browser test again.
0 Kudos
paul2102
Channel Surfer

Re: My Media - Your Music and Video on the Roku DVP

Tried what hammerpocket suggested. Installed Client and started server. This time my terminal-Python window ended without an error message as follows.
But, when I tried the localhost:8001/feed I still get Error 404 /feed Not Found.
Where would I go to double-check to make sure server_port is set to 8001 in my media server configuration?
el-wubo, I ran rss_server.py and got the same error message.


added ../client/images/Overhang_BackgroundSlice_SD43.png to zip as images/Overhang_BackgroundSlice_SD43.png
added ../client/images/video_Logo_Overhang_HD.png to zip as images/video_Logo_Overhang_HD.png
added ../client/images/video_Logo_Overhang_SD43.png to zip as images/video_Logo_Overhang_SD43.png
added ../client/images/videos.jpg to zip as images/videos.jpg
added ../client/images/videos_square.jpg to zip as images/videos_square.jpg
added ../client/images/videos_wide.jpg to zip as images/videos_wide.jpg
rewriting ../client/source/appMain.brs
added ../client/source/appMain.brs to zip as source/appMain.brs
rewriting ../client/source/datamodel.brs
added ../client/source/datamodel.brs to zip as source/datamodel.brs
uploading ../zips/client.zip to http://ROKU IP ADDRESS:80/plugin_install
multipart/form-data; boundary=----------ThIs_Is_tHe_bouNdaRY_$
writing configuration
http://0.0.0.0:8001/
0 Kudos
el_wubo
Visitor

Re: My Media - Your Music and Video on the Roku DVP

"paul2102" wrote:

uploading ../zips/client.zip to http://ROKU IP ADDRESS:80/plugin_install
multipart/form-data; boundary=----------ThIs_Is_tHe_bouNdaRY_$
writing configuration
http://0.0.0.0:8001/


This part of the error tells me that you didn't set your Roku IP address in the configuration before you clicked install client.

I feel like I'm still missing some critical detail.

Can you do the following:

Delete config.ini

Open terminal.

$ cd (wherever mymedia is extracted)/server
$ python rss_server.py

Open safari/firefox/whatever

go to http://localhost:8001/feed
if that fails, try http://127.0.0.1:8001/feed

When you've done all of that, please email me (my email is in the readme) the following:

config.ini
my_media_log.txt
your entire terminal session (copy paste it from beginning to end)

Thanks!
0 Kudos
mattpotthoff
Channel Surfer

Re: My Media - Your Music and Video on the Roku DVP

"CRSharff" wrote:
Can anyone do a quick comparison between MyMedia and Roksbox?


Roksbox
More Complex
Looks just like Netflix channel on Roku!
Must tell program where you keep your files
Must create an xml file that catalogues all your files. (need to update as you add more files)
Also works with images.
Can stream 'youtube'.


MyMedia
Less Complex
Looks exactly like the folders on your computer.
Just tell the program where you keep your files (no xml file or need to update).
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.