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: 
renojim
Community Streaming Expert

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

There's two ways to do. Since you're now running the latest server code, you should be able to browse to your server's IP, port 8001, /configure (e.g., http://192.168.1.115:8001/configure) and set the folder there. The other way to do is to just edit config.ini in the server directory with notepad or your favorite text editor and, if it doesn't already exist, add a photo_dir entry (e.g., photo_dir = C:\Users\JT\My Documents\My Pictures).

-JT
Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.
0 Kudos
sourbear
Visitor

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

"renojim" wrote:
There's two ways to do. Since you're now running the latest server code, you should be able to browse to your server's IP, port 8001, /configure (e.g., http://192.168.1.115:8001/configure) and set the folder there. The other way to do is to just edit config.ini in the server directory with notepad or your favorite text editor and, if it doesn't already exist, add a photo_dir entry (e.g., photo_dir = C:\Users\JT\My Documents\My Pictures).

-JT


Hrmm, http://localhost:8001/configure says not found but if I go to it without the /configure on it, it loads but only shows My Streams, My Music, My Media and Readme. No option to add a photos or anything else. Will try the second method and see what that does....

Edit: OK, the second method worked but wow does it take forever to browse photo folders and even longer to load a photo. Won't be using that option much. Thanks again for all of your help!
0 Kudos
renojim
Community Streaming Expert

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

You must not have installed the PIL package. Its purpose is to create thumbnails that match the display resolution of what the Roku wants which significantly speeds up navigation.

I don't understand why http://localhost:8001/configure didn't work. It still makes me wonder about your server version. Are you starting mymedia.py or rss_server.py? You should be starting mymedia.py, although I don't think you would have made it past the rendezvous/registration if you weren't.

-JT
Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.
0 Kudos
sourbear
Visitor

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

Ahh yeah, OK. Got PIL installed now and it's much faster. Thanks again for all of your help.
0 Kudos
HimSigung
Visitor

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

I just recently decided that I would create a NAS running FreeNAS. I was wondering if anyone has MyMedia running on such a system or something similar. I can't find anything on the net on how to accomplish this. I would also like to know if there is a way to configure MyMedia via command line instead of using a browser. Thank you for your time.
0 Kudos
renojim
Community Streaming Expert

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

I'm not familiar with FreeNAS, but if you can find Python v2.6 then it should work just fine. I and others are using a Seagate Dockstar running a version of Plugbox Linux as a MyMedia server and it works great. There's a good explanation of what it takes on the Dockstar here.

To change the configuration without a browser, just edit the config.ini file that's in the same directory as the mymedia.py file.

-JT
Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.
0 Kudos
pclady
Visitor

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

Please help.

I have python installed and can run rss_server.py and hit my http://127.0.0.1:8001/ and see all my files and all. So, my server seems fine.

My problem is that I can't run mymedia.py.

When I double-click it or run the mymedia.bat file I get the following error:

Traceback (most recent call last):
File "mymedia.py", line 3, in <module>
from google.appengine.api import users
ImportError: No module named google.appengine.api
Press any key to continue . . .

I read in this forum that MyMedia no longer needs google. Do I just have an outdated mymedia.py file? If so, where can I get the new one?

Thanks so much!
0 Kudos
renojim
Community Streaming Expert

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

Well that's a new one. I believe this contains the latest mymedia.py.

Does rss_server.py work with the channel? If I remember correctly, the change to mymedia.py just added the rendezvous stuff. I you've already got the channel communicating with your server and everything is working properly, you don't really need mymedia.py.

-JT
Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.
0 Kudos
pclady
Visitor

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

Thanks for your reply. If I had my roku connected to my roku then I wouldn't need help.

Again, rss_server runs fine but it won't connect toy roku, I edit the config file with code and roku ip address but roku doesn't see my server. It just sits at the reg code screen and nothing happens. I looked at the mediapl ge and it clearly has code to register roku but rssserver.pl does not.

All my pcs can hit my server but not roku. This and reading this forum leaded me to believe that running mymedia.pl was necessary?

Can anyone help? Anyone know what my google error above means or provide some real advice?

ThAnks!
0 Kudos
renojim
Community Streaming Expert

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

I don't appreciate the "real advice" comment. If you had been reading this thread you'd realize that unless el.wubo shows up (he did the server), I'm your best hope for "real advice".

That being said, I'll have to look into the google error. I didn't realize you hadn't made it past the registration, so yeah, you'll need mymedia.py to get past that. I take it the version in the link I gave is the same as the one you're using?

I'm no Python expert, but if you already had Python and some of its libraries installed, is there any chance it's picking up a wrong module? "google.appengine.api" doesn't appear in any of the MyMedia Python files, so I'm not sure where that ImportError is coming from.

-JT
Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.
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.