I installed Ubuntu 20 yesterday. The painfully slow navigation problem (caused by the slow but inevitable deprecation of python 2) re-appeared, and I tried to re-create the fix. Initially, I just succeeded in preventing MyMedia from running at all.
Here is what actually worked.
Huge success!
Note that during this process, I got several warnings about Python 2.7 being deprecated, like this one:
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
It’s only a matter of time before MyMedia becomes unusable. I would love to get access to the git repository and try to update it for Python 3, if that’s possible.
Also, I have updated my init script (/etc/init.d/memedia), which runs mymedia in a screen …
#!/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 python2 $DAEMON"
;;
stop)
su - $USER -c "screen -S $SCREENNAME -X quit"
su - $USER -c "screen -wipe"
;;
status)
su - $USER -c "screen -list | grep $SCREENNAME"
;;
*)
echo "Usage: $SCRIPTNAME {start|stop|status}" >&2
exit 3
;;
esac
:
@bblackmoor wrote:It’s only a matter of time before MyMedia becomes unusable. I would love to get access to the git repository and try to update it for Python 3, if that’s possible.
I just started using my Roku again and was looking for an update to this software and saw your comment.
This is the git repo: https://github.com/netguy204/roku_media_server/
Please post back here if you clone and update it. I'd take a stab at it, but won't have the time for several months.
When I recently looked for it, I could not post new comments to the MyMedia Roku forum because Roku had migrated to a different forum software, and when I went to look at the git repo, it had been removed.
I figured that was a sign, so I looked into Plex and Emby, deciding on Emby.
This was great while it lasted, though. Thanks to all.
VN mod apk allows me to edit videos, but the edited videos don't play on many players