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

I updated the beta version to allow you to jump directly to a top level folder. Once you're in "My Music", "My Videos", or "My Photos", press the info button (*) to bring up a search dialog. If you don't have the info button the Play/Pause button also works. It's only available from the top level of those categories. I guess it would be nice to have a comprehensive search feature, but that would require some work on the server. Assuming you already have the beta channel installed, enter and exit the Channel Store to get the update.

-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

Wow, that was fast. I did refresh the beta channel and can get the search dialog screen to come up but it refuses to find anything. I've tried artist and album names but nothing, unless it takes a while to first scan the entire collection. To make certain I understood, I select the My Music tile (which enlarges it) and then go into the search box and begin typing.
My files are organised by J: drive>Music folder>Artist name>Album.
Also, I assume it's reading file names not ID3 tags.

I was wrong, but so is something else. I tried it again from in the My Music screen and could barely make out the dim boxes and titles to the right. Once I moved the curser over there the artists were viewable, and could be selected. Maybe its just a hi def or hi contrast thing but it does work. Thanks!

OK, that's what it was. I restored the client images folder and everything looks great and works like a charm. This will be really handy. Many thanks!
"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

Glad you figured it out! As you've probably noticed, you can only search for top level folders, so no ID3 tags are being used (that would require some work on the server side). I think I'm going to add a search within a folder so that, for example, you can first jump to an artist's folder and then from there search for an album folder. Probably not all that useful for music since there's probably only a few albums under each artist, but I know it would be nice for me to be able to jump directly to a video within a folder since my organization of videos is somewhat lacking.

Yeah, the colors are a problem. I'm going to see what, if any, attributes affect the colors in that search box. You're fine if you use a light background, but a dark background is problematic.

-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

So, I just made the leap from XP to Win7, clean install of course, wiping out all installed programs etc (actually went to a clean, new SSD). So when trying to get Mymedia back up and running I could not for the life of me find an installer for Python 2.6. Oh, I could find it, but no installer. Anyway, about to post that question here when I ran into this post viewtopic.php?f=28&t=25955&p=333636&hilit=python#p333636, which worked like a charm. My question now is am I going to be OK with the same functionality I enjoyed before and what about updates?
If I should go back to installing Python 2.6, where do I find it with an installer? Frankly, the Python website assumes I'm much more of a Python user than I am and the instructions/descriptions are way over my head.
Meanwhile, thanks go to xwin for his wonderful work done to simplify this.
"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

You can find v2.6 here. When I got my 64-bit Windows 7 laptop I believe I found that the 64-bit version has problems, but the 32-bit version works. I could be mistaken; that was months ago. 🙂

If any changes are made to the server, xwin would have to rebuild the exe, but I don't know how likely new changes to the server are. I try to avoid them given the hassle of updating the server vs. updating the channel.

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

Re: My Media - m3u playlist

I'm running MyMedia servier on windows (shudder) and I'm having problems with .m3u playlists exported from iTunes. I put it in my music folder (regular music plays just fine) and it is recognized. But when I try to click on it on the Roku it's empty (on the web interface it acts like it's playing but it does nothing...the stop/pause buttons pop up but no sound). Any hints on getting m3u playlists working? Here's an excerpt from the playlist (I tried removing all comments and making the paths relative, no luck):

#EXTM3U
#EXTINF:221,Happy Christmas (War Is Over) - The Alarm
C:\Users\Public\Music\The Alarm\Standards\13 Happy Christmas (War Is Over).mp3
#EXTINF:174,Do You Hear What I Hear? - Andy Williams
C:\Users\Public\Music\Andy Williams\Merry Christmas\08 Do You Hear What I Hear_.mp3
#EXTINF:236,Mary's Little Boy Child - Andy Williams
C:\Users\Public\Music\Andy Williams\Merry Christmas\11 Mary's Little Boy Child.mp3


And here is an excerpt from my_media_log.txt:
DEBUG:root:rejecting .iTunes Preferences.plist
DEBUG:root:http://192.168.0.104:8001/m3u?name=Christmas.m3u&key=music
DEBUG:root:rejecting desktop.ini
DEBUG:root:built . from C:\Users\Public\Music\. relative to C:\Users\Public\Music
[above line repeated 11 times total]
DEBUG:root:http://192.168.0.104:8001/media?name=The+Alarm%5CStandards%5C13+Happy+Christmas+%28War+Is+Over%29.mp3&key=music
DEBUG:root:http://192.168.0.104:8001/media?name=Andy+Williams%5CMerry+Christmas%5C08+Do+You+Hear+What+I+Hear_.mp3&key=music
DEBUG:root:http://192.168.0.104:8001/media?name=Andy+Williams%5CMerry+Christmas%5C11+Mary%27s+Little+Boy+Child.mp3&key=music
0 Kudos
renojim
Community Streaming Expert

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

Playlists can't use absolute paths. Try editing your .m3u file in Notepad and do a "Replace all" replacing "C:\Users\Public\Music\" with nothing (assuming music_dir points to C:\Users\Public\Music in your config.ini).

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

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

"renojim" wrote:
Playlists can't use absolute paths. Try editing your .m3u file in Notepad and do a "Replace all" replacing "C:\Users\Public\Music\" with nothing (assuming music_dir points to C:\Users\Public\Music in your config.ini).

-JT


Thanks for the input. I tried that and get the following errors:

DEBUG:root:built . from C:\Users\Public\Music\. relative to C:\Users\Public\Music
DEBUG:root:Error while looking for images in The Alarm\Standards\13 Happy Christmas (War Is Over).mp3: [Errno 2] No such file or directory: u'The Alarm\\Standards\\13 Happy Christmas (War Is Over).mp3'
WARNING:root:library failed to parse ID3 tags for The Alarm\Standards\13 Happy Christmas (War Is Over).mp3. Skipping.
WARNING:root:WARNING: Tried to create feed item for `The Alarm\Standards\13 Happy Christmas (War Is Over).mp3' which does not exist. This shouldn't happen
DEBUG:root:Error while looking for images in Andy Williams\Merry Christmas\08 Do You Hear What I Hear_.mp3: [Errno 2] No such file or directory: u'Andy Williams\\Merry Christmas\\08 Do You Hear What I Hear_.mp3'
WARNING:root:library failed to parse ID3 tags for Andy Williams\Merry Christmas\08 Do You Hear What I Hear_.mp3. Skipping.
WARNING:root:WARNING: Tried to create feed item for `Andy Williams\Merry Christmas\08 Do You Hear What I Hear_.mp3' which does not exist. This shouldn't happen


Looks like it's a problem with the tags or something. Is this all in the mymedia.py file? I grok python so I'll take a look and see if I can trace where it's coming from. I know I can play these files if I browse to them so I'm guessing it maybe a path issue. I'll report back.
0 Kudos
renojim
Community Streaming Expert

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

That looks like a new/different problem. There can be a problem with MP3s with bad or missing ID3 tags, but you say you can play them if you browse to them, so that may not be it.

One other thing, the .m3u file should be in the directory such that the relative path (the path after you removed the C:\Users\Public\Music) makes sense. In your case, you'll want to put the .m3u playlist file in your Music directory (C:\Users\Public\Music). I don't use playlists very often, so I'll have to do some experimenting myself.

I just looked and I have a test.m3u file that contains absolute paths, so maybe I'm barking up the wrong tree with respect to the absolute path issue. Like I said, let me do some experimenting. I do know that they 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
ericcc65
Visitor

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

"renojim" wrote:
That looks like a new/different problem. There can be a problem with MP3s with bad or missing ID3 tags, but you say you can play them if you browse to them, so that may not be it.

One other thing, the .m3u file should be in the directory such that the relative path (the path after you removed the C:\Users\Public\Music) makes sense. In your case, you'll want to put the .m3u playlist file in your Music directory (C:\Users\Public\Music). I don't use playlists very often, so I'll have to do some experimenting myself.

I just looked and I have a test.m3u file that contains absolute paths, so maybe I'm barking up the wrong tree with respect to the absolute path issue. Like I said, let me do some experimenting. I do know that they work. 🙂

-JT


Thanks. I haven't had the time to debug the python code yet but I do have the .m3u file in the location that is the base for the relative path. If I get some time to look at it I'll let you know what I find as well.
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.