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: 
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!
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.
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!
0 Kudos
renojim
Community Streaming Expert

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

I'm glad to hear you got it working! I'm surprised you had an incorrect version since the walkthrough links to the right version. I inadvertently posted a link to the tarball instead of the zip. I hope that didn't cause you too much trouble.

-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
dgrace
Roku Guru

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

Shuffling appears to be broken (again/still). It used to work for me then nothing, just spins endlessly. Doesn't matter if its done at the main menu or and submenu.
Is this just my set up or are others experiencing the issue?
As an aside, did get the Roku firmware update this morning, but my shuffling problem was going on prior to that.
Thanks!
Dave
"I might be moving to Montana soon..."
FZ
0 Kudos
renojim
Community Streaming Expert

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

It still works for me, and always has. For awhile there I was using it more than 12 hours a day. Are you sure you're giving it enough time? It can take a minute or so before the first song starts playing. If that's not it, is the server spitting out any error messages? Instead of starting from the very top level, try drilling down into your music collection a bit and shuffle from there. If I had to guess, I'd say there's probably one song that the server is barfing on. Did the problem start right after you added some new music?

-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
dgrace
Roku Guru

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

I've let it sit many minutes and it never gets past the spinning wheel. My files are organized by artist name. I've tried shuffling all from the top menu. No go. Then I go down into a folder, say, A-C, which may contain 10 folders (artists), which then may have an album or three in those. No go.
One thought is, I've created a folder called Playlists, which is in this file structure, and I'm wondering what the shuffling feature would do once it sees that? Would it skip over the m3u file as an unrecognized audio format or ????
I've recently run MP3 Diags on my entire collection, fixing many tag errors (and they all do play better in my portable player, seemly shuffling better than ever. It used to be that some of what was loaded on my portable never seemed to get played on shuffle.)
I use MP3Tag to fill in tag info and to make all files consistently formatted.
I'll try again at the lowest level and see if I get shuffling.
Also, does the Roku store a bunch of these files when using playlists? Why I ask is that a while ago I rebooted the PC that runs the python server and the music never hiccuped. Just keep playing through the reboot and on and on.
Dave
"I might be moving to Montana soon..."
FZ
0 Kudos
renojim
Community Streaming Expert

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

It should just blow past anything that's not an MP3 or WMA. Obviously, your Playlists folder won't appear in A-C, so maybe it's a red herring. Try shuffling from an Artist's folder. I assume Play All works?

I know there was a server problem if an MP3 didn't have any tag at all, but I think that was fixed. I'm pretty sure the server will spit out an error message on its console when that occurs. Does MP3 Diags tell you if a tag doesn't exist?

It's hard to figure out the caching on the Roku sometimes. I would imagine that once you've made it through the playlist once, all the songs are probably cached on the box (assuming the playlist isn't too long). The information from the m3u playlist is only retrieved once. It is possible to reboot the server without a hiccup, but I'd say it's not guaranteed to work. 😉

-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
dgrace
Roku Guru

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

The reason I started this with the sentence appears to be broken (again/still) was because of this older post:

"Other Strangeness
1. Shuffling: It's broken! I got lots of error messages in the mymedia.bat window when it was attempting to shuffle. I wish I could past the traceback code for you, but it was long and I can't copy/paste from the window.

The first time I tried, it landed on an artists folder instead of an actual song for the first "song" and didn't do anything. When I hit skip the second "song" was an actual song that played, but if I hit skip again it would go back to the first "song" aka folder. It ended up crashing my roku. :cry:

The second time I tried, it landed on a song first and the second "song" was the same folder again. I thought it might be that particular folder, so I removed it from my music file but another folder ended up being listed as a song about three songs into the shuffle.

This problem only seems to occur if you are in the top two level folders (MyMusic or A-B, C-D, etc)"

I just tried shuffling in an artist folder where there may have been 8 albums. I made dinner while it just spun.
No errors being reported. All of my MP3 files have complete tag data, and yes, MP3 Diags reports WAY more than one needs, even that the tag data doesn't contain an image. About 99% of my files are 320kbps, and the rest are 192 or 256, with maybe a few VBR.
I use Playlist Creator and it makes the playlists easy. I have four and they each may have 50 or more tunes (by genre).
Play all does work.
"I might be moving to Montana soon..."
FZ
0 Kudos
dgrace
Roku Guru

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

Don't know if the log file entries from the mymedia/server txt file tells you anything, but this it the text from what was playing just before, to when I switched to shuffle all in the Artist folder (Dave Matthews Band), and letting it spin in shuffling for probably 30 minutes before I took it back to main menu.
DEBUG:root:serving j:\Music\Paul deLay Band\Heavy Rotation\07 - It Isn't Easy Being Big.mp3
DEBUG:root:http://192.168.1.35:8001/m3u?name=Playlists%5CBlues+Misc.m3u&key=music
DEBUG:root:http://192.168.1.35:8001/m3u?name=Playlists%5CJazz+Misc.m3u&key=music
DEBUG:root:http://192.168.1.35:8001/m3u?name=Playlists%5CMisc+Favorites.m3u&key=music
DEBUG:root:http://192.168.1.35:8001/m3u?name=Playlists%5CRock+Misc.m3u&key=music
DEBUG:root:built . from j:\Music\. relative to j:\Music
DEBUG:root:built . from j:\Music\. relative to j:\Music
DEBUG:root:built . from j:\Music\. relative to j:\Music
DEBUG:root:built . from j:\Music\. relative to j:\Music
DEBUG:root:built . from j:\Music\. relative to j:\Music
DEBUG:root:built . from j:\Music\. relative to j:\Music
DEBUG:root:built . from j:\Music\. relative to j:\Music
DEBUG:root:built . from j:\Music\. relative to j:\Music
DEBUG:root:built . from j:\Music\. relative to j:\Music
DEBUG:root:built . from j:\Music\. relative to j:\Music
DEBUG:root:built . from j:\Music\. relative to j:\Music
DEBUG:root:built . from j:\Music\. relative to j:\Music
DEBUG:root:rejecting Thumbs.db
DEBUG:root:serving request for j:\Music\Dave Matthews Band\Weekend On The Rocks\01 - The Stone.mp3.image
DEBUG:root:retrieving image data from mp3 j:\Music\Dave Matthews Band\Weekend On The Rocks\01 - The Stone.mp3
DEBUG:root:Scaling the image to (223, 200)
DEBUG:root:serving request for j:\Music\Dave Matthews Band\Under the Table and Dreaming\01 - The Best of What's Around.mp3.image
DEBUG:root:retrieving image data from mp3 j:\Music\Dave Matthews Band\Under the Table and Dreaming\01 - The Best of What's Around.mp3
DEBUG:root:Scaling the image to (223, 200)
DEBUG:root:serving request for j:\Music\Dave Matthews Band\The Gorge\01 - Drive In, Drive Out.mp3.image
DEBUG:root:retrieving image data from mp3 j:\Music\Dave Matthews Band\The Gorge\01 - Drive In, Drive Out.mp3
DEBUG:root:serving request for j:\Music\Dave Matthews Band\Off The Record [Compilation]\01 - Help Myself.mp3.image
DEBUG:root:retrieving image data from mp3 j:\Music\Dave Matthews Band\Off The Record [Compilation]\01 - Help Myself.mp3
DEBUG:root:Scaling the image to (223, 200)
DEBUG:root:Scaling the image to (223, 200)
DEBUG:root:serving request for j:\Music\Dave Matthews Band\Live in Central Park\01 - Disc 1.mp3.image
DEBUG:root:retrieving image data from mp3 j:\Music\Dave Matthews Band\Live in Central Park\01 - Disc 1.mp3
DEBUG:root:Scaling the image to (223, 200)
DEBUG:root:serving request for j:\Music\Dave Matthews Band\Big Whiskey & The GrooGrux King\01 - Grux.mp3.image
DEBUG:root:retrieving image data from mp3 j:\Music\Dave Matthews Band\Big Whiskey & The GrooGrux King\01 - Grux.mp3
DEBUG:root:Scaling the image to (223, 200)
"I might be moving to Montana soon..."
FZ
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.