Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
bblackmoor
Level 7

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

Thank you. That fixed the slow navigation.
0 Kudos
bblackmoor
Level 7

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

By the way, this is the init script I use to start MyMedia on boot. Maybe someone will find it useful.

/etc/init.d/mymedia
#!/bin/sh
### BEGIN INIT INFO
# Provides:          minidlna
# Required-Start:    $local_fs $network $remote_fs
# Required-Stop:     $local_fs $network $remote_fs
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: mymedia server
# Description:       mymedia media server.
### END INIT INFO

# Do NOT "set -e"

# PATH should only include /usr/* if it runs after the mountnfs.sh script
DESC="MyMedia media server"
MEDIAPATH=/var/media
DAEMONPATH=/usr/local/bin/mymedia/server
DAEMON=$DAEMONPATH/mymedia.py
SCRIPTNAME=/etc/init.d/mymedia
SCREENNAME=mymedia
USER=bblackmoor
GROUP=media
EXECUSER=root
EXECGROUP=media

case "$1" in
  start)
    chown -R $EXECUSER:$EXECGROUP $DAEMONPATH
    chown -R $USER:$GROUP $MEDIAPATH
    su - $USER -c "cd $DAEMONPATH; screen -dm -S $SCREENNAME python $DAEMON"
    ;;
  stop)
    su - $USER -c "screen -S $SCREENNAME -X quit"
    ;;
  status)
    su - $USER -c "screen -list | grep $SCREENNAME"
    ;;
  *)
    echo "Usage: $SCRIPTNAME {start|stop|status}" >&2
    exit 3
    ;;
esac

:
0 Kudos
crowe-t
Level 7

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

Is this the correct link to download My Media?

https://www.playon.tv/mymedia
0 Kudos
renojim
Level 21

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

No, completely different beast. If you're really interested in the original My Media, you might want to start from the first post in this thread to see what it takes to install the server. el.wubo is no longer involved and I'm not sure how much of the installation procedure is still relevant, but if you really, really want to try it, I can probably help out.

-JT
0 Kudos
crowe-t
Level 7

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

"renojim" wrote:
No, completely different beast.  If you're really interested in the original My Media, you might want to start from the first post in this thread to see what it takes to install the server.  el.wubo is no longer involved and I'm not sure how much of the installation procedure is still relevant, but if you really, really want to try it, I can probably help out.

-JT

I've tried Roku's Media Player and it doesn't work that great.  I also tried Plex and I don't like how it groups all the videos together.  It doesn't allow access to the files I set up on my PC.
I really do want to try My Media if it still works.  Any help will be appreciated.
0 Kudos
renojim
Level 21

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

What sort of computer or NAS are you wanting to use as your server?  As a first step, you need to install Python on your server.  Version 2.7.9 is what I'm using.  Version 3 won't work.

You should know that how things are presented within the UI are entirely dependent on how you have them organized (in folders/directories).  If you're the kind of person that likes to put everything in one directory that's exactly how they'll be presented and this probably isn't for you.

-JT
0 Kudos
crowe-t
Level 7

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

"renojim" wrote:
What sort of computer or NAS are you wanting to use as your server?  As a first step, you need to install Python on your server.  Version 2.7.9 is what I'm using.  Version 3 won't work.

You should know that how things are presented within the UI are entirely dependent on how you have them organized (in folders/directories).  If you're the kind of person that likes to put everything in one directory that's exactly how they'll be presented and this probably isn't for you.

-JT

I have an HP Pavilion laptop with an 8th Gen i7 quad processor.  
I have a 4TB external hard drive with programs grouped in different folders. 
I'm currently using an app called Video that came with my Sony XBR-X900F 4K TV.  It works OK but sometimes doesn't recognize the folders.  I also recently bought a Roku Ultra and have used Roku's Media Player but it also doesn't always connect to the PC.
I'm hoping the My Media software will work better.
I'll install Python on my PC.  
Do you have a link to the software for My Media?
0 Kudos
renojim
Level 21

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

Follow the instructions given in the first post of this thread.  They will ultimately lead you to this:  http://netguy204.github.io/roku_media_server/developers_preview.html

There's more instructions there, but that's where you'll find the link to the code (server and client) given here again:  https://github.com/netguy204/roku_media_server/zipball/channel

Ignore the part about installing the client using developer mode (unless you're really interested).  The client code in that download is probably out of date.  I'll give you a channel you can install when I figure out which one is best (I have a few variations from my experiments over the years).

Once you get the Python server stuff installed, you can run a simple test from a browser to see if it's working without having to install anything on your Roku yet.  Installing the server is the hard part.  Unzip the code to wherever you like.  There's a "springboard" utility that may be of some help with configuring the directories of your media and launching the server.  The instructions say to use Python 2.6, but I've used 2.6 and 2.7, so either should be fine.

If you make it this far, on your server machine you should be able to browse to http://localhost:8001/feed and see a simple listing of your media.  From a computer different than your server you should be able to browse to http://<ip addr of server>:8001/feed (e.g., http://192.168.1.10:8001/feed).

Good luck!
-JT
0 Kudos
crowe-t
Level 7

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

"renojim" wrote:
Follow the instructions given in the first post of this thread.  They will ultimately lead you to this:  http://netguy204.github.io/roku_media_server/developers_preview.html

There's more instructions there, but that's where you'll find the link to the code (server and client) given here again:  https://github.com/netguy204/roku_media_server/zipball/channel

Ignore the part about installing the client using developer mode (unless you're really interested).  The client code in that download is probably out of date.  I'll give you a channel you can install when I figure out which one is best (I have a few variations from my experiments over the years).

Once you get the Python server stuff installed, you can run a simple test from a browser to see if it's working without having to install anything on your Roku yet.  Installing the server is the hard part.  Unzip the code to wherever you like.  There's a "springboard" utility that may be of some help with configuring the directories of your media and launching the server.  The instructions say to use Python 2.6, but I've used 2.6 and 2.7, so either should be fine.

If you make it this far, on your server machine you should be able to browse to http://localhost:8001/feed and see a simple listing of your media.  From a computer different than your server you should be able to browse to http://<ip addr of server>:8001/feed (e.g., http://192.168.1.10:8001/feed).

Good luck!
-JT

In this address: http://netguy204.github.io/roku_media_server/developers_preview.html, it sounds like it may not be safe to use My Media.  Is this true?  If so then I'll forget about using it.
0 Kudos
renojim
Level 21

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

It's safe. It's just trying to tell you that you shouldn't run the server code on a computer connected directly to the Internet. No one in their right mind would expose their computer that way and if you're using a Roku you must already have a router that acts as a firewall. Your Roku and your computer should both show that they are using an IP address of the form 192.168.x.x or 10.x.x.x. It they are (and they almost certainly are) then they are behind a firewall and there's no security issue.

-JT
0 Kudos