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: 
rodzroom
Visitor

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

"el.wubo" wrote:
"jasonsf" wrote:
Maybe someone can help me with this. I've got the server setup and the Roku sees the server. It loads in the folder structures but nothing loads. Pictures, music, etc. Folder structure but no media. When I look in the log file, I get something like this:

WARNING:root:SECURITY WARNING: Someone was trying to access ..\2010\2010-02-27\P1060627.JPG. The MyMedia client shouldn't do this

Is this a security issue? Does the python user need to have different security privileges? Anyone know what user this runs under?

I'm running this on Windows 7. The media is on a network drive shared as a windows drive letter.

Thanks-

Jason



That's really interesting. Can you email me the log? (My email is in the readme)

You don't need to change the user that python runs as. I put in the security warning to alert you if someone was trying to trick MyMedia into serving files that weren't in your chosen media folders. It looks like the code that does the check may be confused by your particular setup so I want to take a look.

Note: Your configuration in springboard should use only absolute paths (ie, C:\blah\blah) not relative ones ( ..\blah ) which could trigger the security warning inappropriately.

Also, what version are you running? (the goofy characters on the end of the zip filename)


I am also using a mapped network drive (WinXP SP3), and have the same symptom-- all of the directory and file info shows up in the channel, but none of the media plays, and in the server log I get

WARNING:root:SECURITY WARNING: Someone was trying to access ..\A-Ha\Hunting High And Low\01 - Take On Me.mp3. The MyMedia client shouldn't do this

The actual path that it should be trying to access is "m:\A-Ha\[etc].mp3". It seems like it something is parsing out the network drive incorrectly and replacing it with a ..\ (relative path)? I haven't read through all the pages so I will keep searching the forum for an answer-- but please, if anyone has an answer, let me know!
Tags (1)
0 Kudos
renojim
Community Streaming Expert

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

I'd have to look at the code to see exactly what the problem is, but I think it has to do with having your music_dir set to the root directory on M:. Try mapping one directory up from what you have now. In other words, if M: is currently mapped to \\server\music, map it to \\server\drive and then change your configuration so that music_dir=M:\Music. I know Windows gives some kind of warning about sharing an entire drive, but as long as you aren't doing something stupid with basic security practices it shouldn't be an issue. If you still don't want to share the whole drive, create a new folder (maybe called "Media") and then move your current music folder into that and share the "Media" folder.

If that isn't the issue, let me know.

-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
umbighouse
Visitor

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

MOD file compatibilty?

JT or anyone...

My video camera saves its files in a .MOD format. Roku doesn't like this. However, I can rename the files from .MOD to .MOV and they play fine on my computer. However, Roku still doesn't like them. It can see them in the menu, but when you try to play one, it starts to load and then immediately quits, taking you back to the video menu.

Anyone know how Roku could either:
- Show these videos in their native .MOD format
- Show these videos after they've been renamed to .MOV

I'm not looking to do video conversion on my computer from .MOD -> .MOV if possible.

Thanks in advance,
umbighouse
Tags (1)
0 Kudos
renojim
Community Streaming Expert

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

I'd have to say that if it doesn't play it's probably in a format that's not supported by the box. It can be pretty particular about what it will play.

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

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

It looks like your server can't communicate with your Roku. Did you recently change some firewall or router settings? Can you ping your Roku's ip address? Can you browse to your Roku's ip address (e.g., http://192.168.1.108)? If you can browse to the Roku's "Development Application Installer" page, you could try to install the client from there. The zip was created by springboard.py and is named 'client.zip' in the 'zips' directory (alongside of the 'server' and 'client' directories).

-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

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

Thanks for the help!

Attempts to ping my Roku's IP address time out, so that's not working. But I *can* navigate to my Roku's IP address with my browser, and installed the client.zip file through the page. (I got a warning that the application exceeds the maximum recommended size but it looks like it installed correctly.)

When I start the server in terminal, I get this:

writing configuration
http://0.0.0.0:8007/

The "Stop Server" button is there, but I'm assuming the server isn't running given the 0's in the IP address, and I can't connect to the server IP address using my broswer.

I haven't changed any firewall / router settings, but I do have another server that runs on my computer (I have a Squeezebox for my audio files) and it's possible it's interacting with my firewalls / router settings and mucking things up. Is there somewhere I should check to see what the firewall / router settings are?
Tags (1)
0 Kudos
renojim
Community Streaming Expert

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

The 0's in the ip address are normal. I've always wondered about it, but haven't looked at that part of the server code to figure out why it's there. Did you change the port to 8007? The default is 8001, I believe. What happens now on the Roku? Does it display a popup that says something about a server error? If so, go into the settings and make sure the server ip and port are correct. If you want to be sure the server is working properly, browse to your server's ip and port (e.g., http://192.168.1.100:8007) preferably from a different computer than the server, but if you don't have another computer you can do it on the server itself.

It's very strange that you can't ping the Roku.

-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

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

Has the rebuffering issue been solved for streaming video to the Roku box?

I can confirm the solution of encoding video files at 29.97 fps which solves the problem.

Some some of my video steams become choppy and are geared for 23.97 fps but will rebuffer after 60+ mins or so. Is there a solution or another home streaming service to use?

Also, has this project stopped?

Thanks in advance...
Tags (1)
0 Kudos
midiwall
Visitor

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

"Timmy Likes to Click" wrote:
Is there a solution or another home streaming service to use?

I installed a couple of projects, and ended up settling on Roksbox:
http://forums.rokulabs.com/viewtopic.php?f=28&t=26058
:: Mark
Tags (1)
0 Kudos
renojim
Community Streaming Expert

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

"Timmy Likes to Click" wrote:
Has the rebuffering issue been solved for streaming video to the Roku box?

I can confirm the solution of encoding video files at 29.97 fps which solves the problem.

Some some of my video steams become choppy and are geared for 23.97 fps but will rebuffer after 60+ mins or so. Is there a solution or another home streaming service to use?

Also, has this project stopped?

Thanks in advance...


The buffering problem has nothing to do with which streaming channel you use, so although I haven't checked it myself I would say your experience shows that it has not been fixed in the firmware. I know Roku knows about it, but I guess it's a low priority.

el.wubo hasn't been around for quite a while, but I'm still here ready to comment on or implement any suggestions. The lack of interest lately has made me wonder if it's worth my time anymore. I'd like to clean up a few things and fix a few others, but I probably won't be able to get to them for a while.

-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
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!