noob guide to improved media server

Post Reply
thof
Posts: 12
Joined: Thu Apr 07, 2011 10:22 am

noob guide to improved media server

Post by thof » Thu Apr 07, 2011 10:56 am

Hi All,

I'm new to all of this, but I'm really interested in opening up possibilities for my drive. It's such a shame it does now allow any real configuration and on top of that, the media server capabilities in which I am mainly interested don't work very well.

With this topic I hope to write down a guide on how to get access to the stock twonkymedia server and maybe how to upgrade this to a better/new one.

But I'm not that far yet... because I just started and have only gained telnet and root access using the terminal application on my macbook.
Using telnet I was able to install dropbear using the apt-get install command from the wiki.

My assumption now is that I would be able to access the drive using an SSH client (like Cyberduck for Mac). But unfortunately it does not accept the username and password.

So as a first step can anyone help me get access to the file system? Or am I doing something wrong already?

Thanks so much!

geyperman
Posts: 65
Joined: Sun Jun 06, 2010 9:52 pm

Re: noob guide to improved media server

Post by geyperman » Thu Apr 07, 2011 1:12 pm

Hi thof!

Which user are you using to log through SSH?
Did you try both root and nascentral?

What multimedia features are you looking for?

thof
Posts: 12
Joined: Thu Apr 07, 2011 10:22 am

Re: noob guide to improved media server

Post by thof » Thu Apr 07, 2011 5:29 pm

I tried both root and nascentral with password ioadmin123, but these do not work.

For the mediaplayer features, I'm trying to use the disk in combination with my PS3, but all movies that I put on the drive (in PS3 playable format) are only seen partially. The PS3 is unable to play them completely and stops after 20 seconds or so.
I hope to improve this with a new or improved media server software (as a start).

Mijzelf
Posts: 6194
Joined: Mon Jun 16, 2008 10:45 am

Re: noob guide to improved media server

Post by Mijzelf » Thu Apr 07, 2011 6:11 pm

You can still login via telnet? Can you find anything in /var/log/ which explains your inability to login via ssh?

geyperman
Posts: 65
Joined: Sun Jun 06, 2010 9:52 pm

Re: noob guide to improved media server

Post by geyperman » Fri Apr 08, 2011 7:31 am

thof wrote:For the mediaplayer features, I'm trying to use the disk in combination with my PS3, but all movies that I put on the drive (in PS3 playable format) are only seen partially. The PS3 is unable to play them completely and stops after 20 seconds or so.
I hope to improve this with a new or improved media server software (as a start).


The stock twonky server installation works fine with my PS3. I can watch series and movies (divx/xvid, mpeg2, m2ts) without this issue.
Sometimes there is some movie it can't play sound (surely not supported sound codec). And of course, the missing subtitles and MKV container support.

Maybe the problem is in your PS3. Did you try to play any content another DLNA server? I don't know if MacOS have installed some DLNA server.

thof
Posts: 12
Joined: Thu Apr 07, 2011 10:22 am

Re: noob guide to improved media server

Post by thof » Fri Apr 29, 2011 7:19 am

Some time has passed and I was able to get the web access of the twonky media server to work.
For other starters a writeup:

Start telnet:

Code: Select all

telnet [drive ip] 23


Press 'enter' when asked for password

Login with: nascentral:ioadmin123

After login is successful, type:

Code: Select all

su


Hit enter and type the password: ioadmin123

You can now go to the twonkyvision folder by typing:

Code: Select all

cd /usr/local/TwonkyVision


Make a backup of the current .ini file:

Code: Select all

cp /usr/local/TwonkyVision/twonkyvision-mediaserver.ini  /usr/local/TwonkyVision/twonkyvision-mediaserver-backup.ini


Stop the media server:

Code: Select all

/etc/init.d/twonky stop


Now copy the .ini file to an accessible folder on the network drive (for me movies)

Code: Select all

cp /usr/local/TwonkyVision/twonkyvision-mediaserver.ini /nethdd/media/movies


Copy the file to your desktop and edit it with a text editor. Change the line "enableweb=0" to "enableweb=2"
Save the file and copy it back to the folder (in my case movies)

Now overwrite the existing .ini with the move command:

Code: Select all

mv /nethdd/media/movies/twonkyvision-mediaserver.ini /usr/local/TwonkyVision/twonkyvision-mediaserver.ini


Now we only have to start the media server again with the command:

Code: Select all

/etc/init.d/twonky start


Now the web configuration is accessible by going to http://[NAS IP]:9000

That's it! Next I want to get a different media server running, this twonkyvision thing is still not playing nice with my PS3... streaming from my computer is ok, but the same file on the nas just stops after 20 seconds or so

thof
Posts: 12
Joined: Thu Apr 07, 2011 10:22 am

Re: noob guide to improved media server

Post by thof » Mon May 02, 2011 10:51 am

And I have tvmobili running now and this work perfect with my PS3!
Streaming full hd from the NAS is no problem anymore!

I contacted the support from tvmobili to receive the appropriate release.

If anyone wants to install tvmobili on their own box:

Telnet to the device, then:

Go to a location where you want to download the installation files to:

Code: Select all

cd /usr/local/


Create new folder for tvmobili files:

Code: Select all

mkdir tvmobili


Go to this folder:

Code: Select all

cd ./tvmobili


Download files:

Code: Select all

wget http://tvmobili.com/release-candidate/tvmobili-glibc2.5.0-linux-arm.tar.gz


Unpack:

Code: Select all

tar -zxvf tvmobili-glibc2.5.0-linux-arm.tar.gz


Goto new folder:

Code: Select all

cd ./tvmobili-generic-linux-arm_glibc_2.5.0-1.4.2830/


Install:

Code: Select all

./setup.sh


Stop the twonky server:

Code: Select all

/etc/init.d/twonky stop


Now you can go to http://NASIP:30888 and add media!
Last edited by thof on Mon May 02, 2011 6:00 pm, edited 1 time in total.

sidsweb
Posts: 23
Joined: Tue Mar 29, 2011 6:10 am

Re: noob guide to improved media server

Post by sidsweb » Mon May 02, 2011 5:33 pm

Hi,

I tried using your method, to install tvmobili. I followed the steps exactly as you described.

But i get the following errors:

When i first try to run the script "setup.sh", its gives me an error saying it cant find the file.
root@Iomega-Sids:/usr/local/tvmobili# /tvmobili-generic-linux-arm_glibc_2.5.0-1.4.2830/setup.sh
bash: /tvmobili-generic-linux-arm_glibc_2.5.0-1.4.2830/setup.sh: No such file or directory

I fixed that by removing the slash in the begining.

But still, even after finding the file, it gave me a LOT of errors:

root@Iomega-Sids:/usr/local/tvmobili# tvmobili-generic-linux-arm_glibc_2.5.0-1.4.2830/setup.sh
Install package in /nethdd/tvmobili
cp: cannot stat `usr/local/bin/tvmobilisvcd': No such file or directory
chmod: cannot access `/nethdd/tvmobili/bin/tvmobilisvcd': No such file or directory
cp: cannot stat `uninstall.sh': No such file or directory
chmod: cannot access `/nethdd/tvmobili/uninstall.sh': No such file or directory
cp: cannot stat `startup.sh': No such file or directory
chmod: cannot access `/nethdd/tvmobili/startup.sh': No such file or directory
cp: cannot stat `etc/tvmobili/template-instance': No such file or directory
cp: cannot stat `etc/tvmobili/defaultmedia/*': No such file or directory
Assuming support for iNotify
mv: cannot stat `/nethdd/tvmobili/cfg/template-instance/conf/tvMobiliService.conf.withinotify': No such file or directory
tvmobili-generic-linux-arm_glibc_2.5.0-1.4.2830/setup.sh: line 137: /nethdd/tvmobili/cfg/template-instance/conf/tvmobilisvcd: No such file or directory
tvmobili-generic-linux-arm_glibc_2.5.0-1.4.2830/setup.sh: line 138: /nethdd/tvmobili/cfg/template-instance/conf/tvmobilisvcd: No such file or directory
chmod: cannot access `/nethdd/tvmobili/cfg/template-instance/conf/tvmobilisvcd': No such file or directory
chmod: cannot access `/nethdd/tvmobili/cfg/template-instance/conf/tvmobilisvcd.init': No such file or directory
Instances already defined. Will upgrade...
/nethdd/tvmobili/cfg/instances /usr/local/tvmobili
cp: cannot stat `/nethdd/tvmobili/cfg/template-instance/www': No such file or directory
cp: cannot stat `/nethdd/tvmobili/cfg/template-instance/conf/MediaEngine.dat': No such file or directory
/usr/local/tvmobili
/nethdd/tvmobili /usr/local/tvmobili
tvmobili-generic-linux-arm_glibc_2.5.0-1.4.2830/setup.sh: line 167: ./startup.sh: No such file or directory
/usr/local/tvmobili

thof
Posts: 12
Joined: Thu Apr 07, 2011 10:22 am

Re: noob guide to improved media server

Post by thof » Mon May 02, 2011 5:59 pm

hmmm worked for me... maybe I forgot something in the writeup :shock:


What is in your unpacked folder?
Goto the folder:

Code: Select all

cd /usr/local/tvmobili/tvmobili-generic-linux-arm_glibc_2.5.0-1.4.2830/

Check content:

Code: Select all

ls


Are you logged in as root? Command 'su'?

Try starting the installer from inside the extracted folder with the command:

Code: Select all

./setup.sh



Hope you get it working! I'm new to all of this too, I guess with some trial and error you should be able to get it done!

sidsweb
Posts: 23
Joined: Tue Mar 29, 2011 6:10 am

Re: noob guide to improved media server

Post by sidsweb » Thu May 05, 2011 7:06 am

Yup, i got it installed, up and running :)

i accessed the web interface, and it works too!

BUT, I cant get it to find any media files. absolutely none.

I also tried adding the folder "/nethdd/media/music" via the web interface, and clicked on submit.... but the page just refreshed and it still didnt find any media.. :(

any help?

thof
Posts: 12
Joined: Thu Apr 07, 2011 10:22 am

Re: noob guide to improved media server

Post by thof » Thu May 05, 2011 8:49 am

Hmm no sorry, I added "/nethdd/media/movies" and "/nethdd/media/music" and both are perfectly indexed.

What does the status screen say? There is a section "AT A GLANCE..." that shows the amount of music, video and pictures indexed.

papajohn
Posts: 18
Joined: Wed Jun 22, 2011 12:46 am

Re: noob guide to improved media server

Post by papajohn » Wed Jun 22, 2011 6:49 am

anyone ever get this to work on cloud edition? (the tvmobili i mean)

nmarquev
Posts: 2
Joined: Wed Jul 27, 2011 5:03 am

Re: noob guide to improved media server

Post by nmarquev » Wed Jul 27, 2011 5:08 am

Yes, it worked just fine in HOme Media CE!

But you have to use shared folders as /mnt/pools/A/A0/Movies insted of /nethd/Movies

Bye

Paladin73
Posts: 2
Joined: Fri Sep 30, 2011 10:17 pm

Re: noob guide to improved media server

Post by Paladin73 » Sat Oct 01, 2011 4:32 pm

It seems that at tvmobili netsite the install packages had been reorganized.

Can someone please write down, how to install with these new ones?
(I've tried some, but it's beyond my capabilities :) ).

nuclearsam
Posts: 1
Joined: Thu May 11, 2017 6:45 pm

Re: noob guide to improved media server

Post by nuclearsam » Thu May 11, 2017 6:52 pm

Hi All,

Sorry to bring up this old post. I have an iOmega HMND from which I want to stream mkv (and all other formats) to my Sony Bravia DLNA tv.

I have installed tvmobili latest version from their website as the link above was not working, however, the latest version needs license which cost 65 bugs ( and i really don't want to pay 65 bugs for streaming few mkv movies)

Is there any other software available like tvmobili (or if I can upgrade Twonky to 7 that might support mkv) ?
Or if someone has the old version of tvmobili and can share the file that might not need the license?
Or if someone can be so kind to share the license key if they are not using it now?


Really thankful to those who can help.

Post Reply