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: 
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.
Tags (1)
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.
Tags (1)
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.
Tags (1)
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!
Tags (1)
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.
Tags (1)
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!
Tags (1)
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.
Tags (1)
0 Kudos
pclady
Visitor

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

I apologize if you took offense. They're just words, and I didn't mean anything by them.

I have been reading this thread this is how I have come to the conclusion that I am using an incorrect mymedia.pl. The mymedia.pl I have came from the walkthrough web site link. I am a programmer, too, and can see from the version I have that it's using the google libraries which I don't have anywhere - thus the error.

I'm not home, so I can't send you the mymedia.pl version I have, but I will post the text here tonight. I even tried to comment them out, but just saw Handler errors and gave up. Also, I didn't see any registration methods in mymedia.pl - which was also suspicious.

Thanks for the link. Your mymedia.pl looks great. As I suspected, I somehow got my hands on an incorrect version. Great. I will try this one tonight.

So, it seems I just need to run the correct mymedia.pl with the correct config params (including regid) in the config file, then my Roku to will get past the screen where it shows the registration code...i'm guessing.

I'll look in this forum to see what video formats MyMedia supports...not sure. I'm hoping AVI is included.

Sorry again for the poor use of words. I do appreciate your help!
Tags (1)
0 Kudos
renojim
Community Streaming Expert

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

It looks like the walkthrough links to the proper version, so I'm guessing that you already have the latest version and the problem lies elsewhere. Although, "register" should appear several times in mymedia.py and google should never appear. What version of Python do you have? It only works on 2.6.

I'll spare you the suspense about AVI's. The channel only supports what the box supports. AVI support would have to come via transcoding. It's something I've played with using vlc to transcode to HLS (HTTP Live Streaming), but I honestly don't see the sense in transcoding something every time you want to watch it when you can just do it once and be done with it. Way back in this thread somewhere I wrote about what I did. If you really wanted to, you could modify the server to include the on-the-fly transcoding using vlc or anything else capable of it. It's just something I'm not all that interested in.

-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.
Tags (1)
0 Kudos
pclady
Visitor

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

I'm all set. I used the mymedia.pl from your link above, and it immediately all worked. (Well once I added the new regid to the config file). Thanks for your help.

Yes, I'm using Python 2.6.

Thanks for the AVI info. I did read about your comments regarding AVI. If I have time, I may look at it. It's probably just as easy to encode for now. Maybe someday Roku will support AVI videos.

Thanks again!!! I'm so excited. This tool has really made my Roku box invaluable.

Great job!
Tags (1)
0 Kudos
Community is Being Upgraded!

We’re upgrading Roku Community to bring you a faster, more mobile-friendly experience. You may notice limited functionality or read-only access during this time. Read more here.

Planned Downtime:
Community will be unavailable for up to 24–48 hours during the upgrade window during the week of May 19th and you may notice reduced functionality. In the meantime, for additional assistance, visit our Support Site.

We're sorry for this disruption — we’re excited to share what’s next!

For support, visit support.roku.com.