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

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

my media always stops and "Please wait Loading" during play back. Any help with this...thanks!!!!
0 Kudos
renojim
Community Streaming Expert

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

"kmh" wrote:
But could you add a feature to the server so that in certain circumstances,
instead of reading the file, the server executes the file and reads the
output? This would be an easy way to let users create their own plugins.

That's an interesting idea, but it's not so simple to just read the output. The video has to be either a complete MP4 (or has to at least have all the required meta-data for playback) or be an HLS m3u8 file.

"kmh" wrote:
Then if I wanted to play a video file from the internet, I could create a
script which downloads the file with wget, but writes the video data to
standard output instead of to a file, and then mymedia server would read the
video data from the output of the script and send the video data to the
mymedia roku client.

For the reason given above, this would probably not work most of the time. The box needs to be able to seek to find the information it needs to initialize the video decoder. I've watched what happens when you start a video and the box performs many seeks within the video file, many of which make no sense to me, so trying to start playback while the file is still downloading probably wouldn't work most of the time, if at all.

"kmh" wrote:
This feature could also be used for transcoding.

The pesky details of internet accesss or transcoding would be
incorporated into the script, so mymedia would not have to deal with this.
That would be the user's responsibility. So the changes to the mymedia
server should be simple.

I've never seen the advantage to transcoding, but that may be because I only own Rokus, so I have no problem with converting everything to MP4. It seems silly to do that over and over on the same file, as transcoding on the fly would do.

Having said that, transcoding something found on the Internet that may only be available in flash (FLV) format to HLS on the fly could be useful. I don't know if there's any freeware that will do that. I played with Wowza once and gave up on its Java nonsense (I HATE JAVA!!!!). I don't know if I'd use this feature since I prefer to run the server on a Pogoplug clone that doesn't have the horsepower for transcoding.

As for the pesky details of internet access, it would definitely be nice to have plugins that could parse webpages and find the golden nugget (the URL to the MP4) and pass that to the client. Having used Brightscript to scrape webpages many times I can see the advantage to using a language with built-in HTML parsing ability. I'm just not sure how the mechanics would work:
  • From the client you make a selection that causes the server to start a process and then waits for a response (which hopefully doesn't take too long).
  • The process running on the server machine does its magic and reports "something" back to the server. That "something" could be a single URL of a video to play or a list of items to display probably best packaged in XML.
  • The server returns the XML produced by the spawned process back to the client.
  • The client either attempts to play the video or displays a new screen of the items returned.

Seems doable, but I'll have to give all of this some more thought.

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

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

"feather2106" wrote:
my media always stops and "Please wait Loading" during play back. Any help with this...thanks!!!!

Just to be clear, are you talking about the MyMedia channel that's in the Channel Store (from PlayOn) or this private channel? PlayOn gave me one more reason to hate those schmucks (as if I needed one).

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

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

Yea, the one in Roku
0 Kudos
feather2106
Visitor

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

Not sure what Play On is...
0 Kudos
Basit
Visitor

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

My first post and don't know if this is the right place. I added My Media channel and did not get a registration code. I installed the server on PC and it asks for registration code. How do I get one?
0 Kudos
Basit
Visitor

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

I figured it out. Had to start the my media channel to get registration code.
0 Kudos
medtech71
Visitor

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

Hi, I am trying to set up mymedia to link with my roku and am thoroughly frustrated. I have the mymedia channel on my roku...and went to the rokumm.appspot place and followed the instructions. I have python 2.6 etc, but when I get to #4 configure the server, I can't get anywhere through google chrome...it just gives me a big denied.

Anyone have some idea how to get around this?

Thanks...
0 Kudos
renojim
Community Streaming Expert

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

Have you started the server and are you trying to connect to the MyMedia server from the server machine itself? If so, try to connect to the actual IP address of the server rather than the localhost (127.0.0.1) alias. For example, if your server machine's local IP address is 192.168.1.100 try to browse to http://192.168.1.100:8001. If that fails, you can really just edit the config.ini file that's in the same directory as mymedia.py with any text editor.

-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
ramsemaj
Newbie

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

There are two channels with the same name.

If you're seeing playon stuff, then it's not the right one that this thread is about. You need the private channel one located here:

https://owner.roku.com/Account/ChannelC ... de=mymedia

HTH someone who made the same mistake I did.
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.