Channel Issues & Questions

Help & troubleshooting for channels on your Roku device, including adding/removing channels, logging in to, authenticating, or activating a channel, channel-specific playback issues, assistance contacting channel publishers to report issues, and adjusting channel-specific settings.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
jambalaya
Level 7

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

"renojim" wrote:
This one's a little tougher. The documentation does not mention .m4a as being a supported format. Is that the same thing as .mka?
-JT


Actually a .m4a is literally a .mp4 (except with no video track). I was able to successfully play a .m4a in MyMedia by copying it from the music folder to the video folder and renaming the extension to .mp4. You get a black video of course but the audio plays just fine. So it seems it would be a small tweak to get these files recognised as music rather than video. The Wife buys a couple of iTunes songs a week so it would be really great to have .m4a's played in situ in the music folder.

Thanks JT
-JB
0 Kudos

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

i know this probably has been asked many many times, i followed the step by step instructions and got it to find my server. ( i know this because i tried to switch it, and it then said can not find server, so i switched it back)

at any-rate whenever i try to click on my music or whatever it is, it says
"no media items retrived. is the media path set correctly? does the selected path contain playable files?

i used the standard paths they had
C:\Users\Donna\My Documents\My Music
C:\Users\Donna\My Documents\My Videos

i don't know what i am doing wrong

the file i was just trying to play as a music file was just a sample file i had gotten
it was a .wma
I Guess You're Right.wma

please email me jake@student.com

i really want to get this to work, as wlel as the streaming part, and what you are currently watching.

thank you so much!
0 Kudos
jambalaya
Level 7

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

JT - Just letting you know I had a stab at editing mymedia.py and common.py to include .m4a support, with success. The changes are very minimal (does not try to parse album/artist or song length), but at least now the unprotected iTunes music purchases play so I am all set. No need to incorporate into the main release if no one else cares about iTunes m4a support, but just FYI these are the changes I made (the code locations should be obvious) -

In mymedia.py, add:

  elif ext == ".m4a":
# use the filename as the title

basename = os.path.split(fname)[1]
title = os.path.splitext(basename)[0]

description = "Music"
filetype = "mp4"
ContentType = "audio"


In mymedia.py, change:

  media_re = re.compile("\.m3u|.m3u8|\.mp3|\.wma|\.m4a|\.m4v|\.mp4|\.mov|\.wmv|\.jpg|\.jpeg|\.png|\.gif")


In common.py, add:

  elif ext == "m4a":
return "audio/mp4"


In common.py, change:

def is_music(path):
return ext2mime(path) in ("audio/mpeg", "audio/mp4", "audio/x-ms-wma", "audio/x-mpegurl")


Cheers
JB
0 Kudos
renojim
Level 12

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

Good job! I was going to give that a shot, but I don't use iTunes and don't have any .m4a files. So the audio player will play MP4s? That's interesting (and undocumented). I'm still (for several months now) finalizing the 2.0 beta, so I may as well add it.

-JT
0 Kudos

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

I just blogged about the setup on a pogoplug & using an android remote controll app

http://rich-blog.blogspot.com/2011/12/r ... droid.html
0 Kudos
renojim
Level 12

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

Nice! Keep in mind that Python 2.7 may cause problems. I use a Seagate Dockstar, which is a clone of one of the Pogoplugs, and I love it. I just scored a 1TB WD My Book Live for cheap, so my next project will be getting MyMedia to work on it.

-JT
0 Kudos

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

Hello,

Great program!

I've successfully set it up on a QNAP TS-219P, but moving through the menu is very slow, particularly when trying to select a video to play. I've checked and I do have PIL installed, and it does look like it is being used as the log file shows "scaling the image" in many places. I'm using PIL 1.1.7-1 and python 2.6.7.

Watching top while using this on the Roku shows that I'm not killing the cpu (which I expected)...any chance I may just has something else mis-configured?

Thanks!
0 Kudos
renojim
Level 12

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

Every once in a while someone will report slow navigation and it's always been tough to track down what the problem is. I can say that it should be very snappy. Could you give the 2.0 beta a try to see if it makes a difference?

Thanks,
-JT
0 Kudos

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

No, that didn't seem to make a difference. Still seems exactly the same, unfortunately.
0 Kudos
renojim
Level 12

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

That is unfortunate. It shouldn't matter, but are you using your own images for your videos or do you just have the generic image? Also, how many videos do you have in your directory?

One thing to check is to see if PIL is actually working. Browse to:
http://192.168.1.2:8001/media?name=images/folder_square.jpg&key=client
and you should see the JPEG of the folder image and if you check the properties the dimensions should be 533x533.

Now add a resolution to the end:
http://192.168.1.2:8001/media?name=images/folder_square.jpg&key=client&res=300,300
and the image should be scaled to 300x300.

Of course, replace 192.168.1.2 with the IP of your NAS.

-JT
0 Kudos