Twonkymedia on Mybook - Possible Clue?
Forum » Forum / Installing & Configuring Programs » Twonkymedia on Mybook - Possible Clue?
started by: ZerosignalZerosignal
on: 1205319855|%e %b %Y, %H:%M %Z|agohover
number of posts: 34
rss icon RSS: new posts
summary:
Have I found what we need?
Twonkymedia on Mybook - Possible Clue?
ZerosignalZerosignal 1205319855|%e %b %Y, %H:%M %Z|agohover

In vain I have been searching for a solution to my uShare problem not actually sharing anything…

Anyway I was poking around the twonky site specifically this page.

http://www.twonkyvision.com/Download/TwonkyMedia/TM4Technicians.html

It has the following ARM builds

  1. Linux ARM big endian glibc 2.2.5
  2. Linux ARM big endian uclibc 0.9.28
  3. Linux ARM little endian glibc 2.2.5
  4. Linux ARM little endian uclibc 0.9.28

My understanding is that the uclibc version 0.9.28 is the as used in the gumstix1151 builds we all use in the optware feeds.

I do not know enough about Linux to tell me if this will or will not function on this device yet - at least I don't know enough yet, I am learning quickly.

Some assistance from the gurus out there would be great.

Cheers

Chris

unfold Twonkymedia on Mybook - Possible Clue? by ZerosignalZerosignal, 1205319855|%e %b %Y, %H:%M %Z|agohover
Re: Twonkymedia on Mybook - Possible Clue?
Z80Z80 1205321234|%e %b %Y, %H:%M %Z|agohover

A possible alternative, in case you have problems installing TwonkyVision could be MediaTomb. It is a SourceForge project and completely freeware. Although the frontend is not very nice, it worked for me almost out of the box. There is an Optware stream for it, so the installation is really simple, once you have Optware running (not a big thing). You could use MediaTomb as an in-between solution, until you get your full TwonkyVision installation.
Z80

unfold Re: Twonkymedia on Mybook - Possible Clue? by Z80Z80, 1205321234|%e %b %Y, %H:%M %Z|agohover
Re: Twonkymedia on Mybook - Possible Clue?
ZerosignalZerosignal 1205321705|%e %b %Y, %H:%M %Z|agohover

Thanks for the advice Z80.

I looked at mediatomb I do appreciate that they want to stay true to the original DLNA profile so they will not support the Xbox 360.

Just an FYI for yourself.

I downloaded "Linux ARM little endian uclibc 0.9.28" to my device and I have the twonkymedia server now running on my Western Digital MyBook, currently browsing the web interface right now.

I have done the following so far to install it.

created a directory under /usr/local/ called "TwonkyVision"

then the following

cd usr
cd local
cd TwonkyVision
wget http://www.twonkyvision.com/Download/4.4/twonkymedia-armel-uclibc-0.9.28.zip
/opt/bin/ipkg install unzip
/opt/bin/unzip twonkymedia-armel-uclibc-0.9.28.zip

wait till that completes then

/usr/local/TwonkyVision/twonkymedia

as far as streaming goes, so far my windows PC recognises the server so that is a start :)

last edited on 1205456653|%e %b %Y, %H:%M %Z|agohover by Zerosignal + show more
unfold Re: Twonkymedia on Mybook - Possible Clue? by ZerosignalZerosignal, 1205321705|%e %b %Y, %H:%M %Z|agohover
Re: Twonkymedia on Mybook - Possible Clue?
ZerosignalZerosignal 1205321863|%e %b %Y, %H:%M %Z|agohover

Further good news.

I added some music to the server.

Windows Media Player successfully connects to the UPNP server and streams it!

unfold Re: Twonkymedia on Mybook - Possible Clue? by ZerosignalZerosignal, 1205321863|%e %b %Y, %H:%M %Z|agohover
Re: Twonkymedia on Mybook - Possible Clue?
Z80Z80 1205323623|%e %b %Y, %H:%M %Z|agohover

Thanks for the info.
I think I will still stick to MediaTomb, although the gui really sucks. But since I don't have an Xbox and only want to stream my music to a Denon receiver, I'm fine with it. What is the gui of TwonkyVision like? I didn't find any links to any screenshots at their site.

unfold Re: Twonkymedia on Mybook - Possible Clue? by Z80Z80, 1205323623|%e %b %Y, %H:%M %Z|agohover
Re: Twonkymedia on Mybook - Possible Clue?
ZerosignalZerosignal 1205325754|%e %b %Y, %H:%M %Z|agohover

Further info.

Xbox 360 streaming works out of the box so to say it required no configuration from myself (both Xvid & MP3).

It looks as though the software correctly supports ID3 tags - however cannot be certain on that front until some more testing.

Downside of Twonky? It is not free it does costs $39.50 USD or 29.50EUR, but you do get a 30 day trial period in which to test the software.

If I am happy with it after 30 days I will be purchasing it.

Hope this has helped a few people.

twonkyguimt7.jpg
unfold Re: Twonkymedia on Mybook - Possible Clue? by ZerosignalZerosignal, 1205325754|%e %b %Y, %H:%M %Z|agohover
Re: Twonkymedia on Mybook - Possible Clue?
cydinecydine 1205426971|%e %b %Y, %H:%M %Z|agohover

Nice job on finding this!

Works a lot better than ushare for streaming to xbox 360 - especially hi-def movies.

unfold Re: Twonkymedia on Mybook - Possible Clue? by cydinecydine, 1205426971|%e %b %Y, %H:%M %Z|agohover
Re: Twonkymedia on Mybook - Possible Clue?
terosteros 1205500441|%e %b %Y, %H:%M %Z|agohover

ummm i downloaded the torrent for this ages ago never bothered to play with it it's pretty cool anyone know how to get it to autostart?

unfold Re: Twonkymedia on Mybook - Possible Clue? by terosteros, 1205500441|%e %b %Y, %H:%M %Z|agohover
Re: Twonkymedia on Mybook - Possible Clue?
Z80Z80 1205504686|%e %b %Y, %H:%M %Z|agohover

If by saing 'autostart' you mean: 'auto start each time I boot the device' then I have to tell you, there is no such a simple way as putting one file into the 'Autostart' folder.
The MBW is a GNU/Linux device and these devices follow the init routine while booting. While this is more or less a pretty advanced procedure, it all boils down to this:
There is a directory /etc/init.d where you can put a shell script to contain start and stop commands for anything you can think of. Have a look there, there are a lot of scripts there already. Additionaly, there are some scripts (or links to scripts) beginning with the letter S or K. All scripts beginning with 'S' are executed at startup with the first parameter containing 'start', all beginning with 'K' just before shutdown with the first parameter containing 'stop'.
Usually one makes one script for starting and stopping, containing different entries for the start and stop commands (look at /etc/init.d/mionet.sh for an example) and then puts two symbolic links into the directory: SXXmionet and KXXmionet, XX being a two-digit number. The numbers are used to enforce a certain sequence in which the scripts are called one after another.
Hope this helps.
For further information, refer to http://tldp.org/LDP/intro-linux/html/sect_04_02.html
but bear in mind that there is apparently only one run level on the MBW.
Z80

last edited on 1205504783|%e %b %Y, %H:%M %Z|agohover by Z80 + show more
unfold Re: Twonkymedia on Mybook - Possible Clue? by Z80Z80, 1205504686|%e %b %Y, %H:%M %Z|agohover
Re: Twonkymedia on Mybook - Possible Clue?
wildandycwildandyc 1206110784|%e %b %Y, %H:%M %Z|agohover

Hi there - please forgive my ignorance as a new user of SSH (I used PuTTy under Win32).

I have installed and can execute the TwonkyMedia Server, BUT - when I close putty on my PC the Twonky service stops on the server - how do i exit Putty and have Twonky remain open.

I don't mind starting twonky if the server has to be restarted, power cuts etc. but need to know how to keep the service going - please forgive my green-ness and lack of linux/ssh ability.

unfold Re: Twonkymedia on Mybook - Possible Clue? by wildandycwildandyc, 1206110784|%e %b %Y, %H:%M %Z|agohover
Re: Twonkymedia on Mybook - Possible Clue?
mozettimozetti 1206112178|%e %b %Y, %H:%M %Z|agohover

You should be able to just add "&" to the end of the command. That will keep a process running after you close the shell. So, if the command is:

usr/local/TwonkyVision/twonkymedia

Then just use:

usr/local/TwonkyVision/twonkymedia &
unfold Re: Twonkymedia on Mybook - Possible Clue? by mozettimozetti, 1206112178|%e %b %Y, %H:%M %Z|agohover
Re: Twonkymedia on Mybook - Possible Clue?
wildandycwildandyc 1206189318|%e %b %Y, %H:%M %Z|agohover

Hi thanks for the suggestion but adding & to the command doesn't change it. I close the putty shell, and the process finishes too.

unfold Re: Twonkymedia on Mybook - Possible Clue? by wildandycwildandyc, 1206189318|%e %b %Y, %H:%M %Z|agohover
Re: Twonkymedia on Mybook - Possible Clue?
wildandycwildandyc 1206196994|%e %b %Y, %H:%M %Z|agohover

Okay I solved it…………

I had to supress the hangup signal sent when you close PuTTy……….

nohup usr/local/TwonkyVision/twonkymedia &

Hope it can help others too

unfold Re: Twonkymedia on Mybook - Possible Clue? by wildandycwildandyc, 1206196994|%e %b %Y, %H:%M %Z|agohover
Re: Twonkymedia on Mybook - Possible Clue?
CardinalCardinal 1209231432|%e %b %Y, %H:%M %Z|agohover

don't worry about surpressing the nohup - run it as a daemon. if you use the startupscript, it will daemonise for you, else turn twonkymedia -D

HtH

unfold Re: Twonkymedia on Mybook - Possible Clue? by CardinalCardinal, 1209231432|%e %b %Y, %H:%M %Z|agohover
Re: Twonkymedia on Mybook - Possible Clue?
RedrockerRedrocker 1208306601|%e %b %Y, %H:%M %Z|agohover

Yes that last post was useful. But I'm having a hard time with the startup script. Can anybody be of help?

Ps: Nice work guy's

I ended up figuring it out. Very easy

THX Guy's

last edited on 1208345557|%e %b %Y, %H:%M %Z|agohover by Redrocker + show more
unfold Re: Twonkymedia on Mybook - Possible Clue? by RedrockerRedrocker, 1208306601|%e %b %Y, %H:%M %Z|agohover
Re: Twonkymedia on Mybook - Possible Clue?
wildandycwildandyc 1208583125|%e %b %Y, %H:%M %Z|agohover

@Redrocker :

Have you managed to achieve autostart - do you wish to share your solution ?

unfold Re: Twonkymedia on Mybook - Possible Clue? by wildandycwildandyc, 1208583125|%e %b %Y, %H:%M %Z|agohover
Re: Twonkymedia on Mybook - Possible Clue?
glfpglfp 1208850295|%e %b %Y, %H:%M %Z|agohover

Hi there !

I also installed this software (after many tentative with ushare and similar to work correctly) and I'm quite happy.

I have only some troubles with photo made in past years that (in "by date" order) are displayed as 04/2008 !!! Very strange !!

unfold Re: Twonkymedia on Mybook - Possible Clue? by glfpglfp, 1208850295|%e %b %Y, %H:%M %Z|agohover
Re: Twonkymedia on Mybook - Possible Clue?
madmarkamadmarka 1209197565|%e %b %Y, %H:%M %Z|agohover

Hi There

I am a total N00b on linux so please bear with me… I was able to download the package from the command line but couldn't unzip it (I'm guessing I don't have IPKG on my MyBook). So instead I used WinRar on my PC to unzip the package and then used WinSCP to put the files on there at /usr/local/TwonkyVision.

Now my problem is that I cannot seem to run the program from the comand line using Putty.

If I navigate to /usr/local/TownkyVision and then enter twonkymedia on the command line I get "-bash: twonkymedia: command not found" however the file is there.

If I execute the file using WinSCP as either root or the user I created on there it runs absolutely fine.

I have set every permission against the file to allow everything and even changed ownership of the file to the user I created but I still have the same problem.

Obviously once I can run it from the command line I guess I just then add an entry into the /etc/initteb as per this
::sysinit:/usr/local/TwonkyVision/twonkymedia to get it to start on reboot.

Thanks for your help/guidance in advance :D

last edited on 1209743907|%e %b %Y, %H:%M %Z|agohover by madmarka + show more
unfold Re: Twonkymedia on Mybook - Possible Clue? by madmarkamadmarka, 1209197565|%e %b %Y, %H:%M %Z|agohover
Re: Twonkymedia on Mybook - Possible Clue?
etsmeetsme 1209567379|%e %b %Y, %H:%M %Z|agohover

here is the file I wrote to get twonky to start via a S90twonkyview file in /etc/init.d

what I donr is just modified the mionet deamon file and renamed it to S90twonkyview……. here's how it looks

#!/bin/sh
#

twonkyview=/usr/local/TwonkyVision/twonkymedia

start() {
echo "Starting twonky"
$twonkyview start
}

stop() {
echo "Stoping twonky"
$twonkyview stop
}

restart() {
stop
start
}

case "$1" in
start)
start
;;
stop)
stop
;;
restart)
restart
;;
cleanup)
;;
*)
echo $"Usage: $0 {start|stop|restart}"
exit 1
esac

exit $?

=======================================================================

then you must set the chmod to 755 on the new file so it can be executable at startup with this command

  1. chmod 755 /etc/init.d/S90twonkyview

then reboot and it will run twonky no bother what so ever
happy streaming people

john

unfold Re: Twonkymedia on Mybook - Possible Clue? by etsmeetsme, 1209567379|%e %b %Y, %H:%M %Z|agohover
Re: Twonkymedia on Mybook - Possible Clue?
aphilgr1aphilgr1 1209691259|%e %b %Y, %H:%M %Z|agohover

No matter what I do, I cannot get Twonkymedia to run. I keep getting -bash: /usr/local/TwonkyVision/twonkymedia: No such file or directory.

I have put the files in the right folders, I have used "chmod 700 twonkym*", I have double checked my typing 20 times but nothing.

Help guys!

unfold Re: Twonkymedia on Mybook - Possible Clue? by aphilgr1aphilgr1, 1209691259|%e %b %Y, %H:%M %Z|agohover
Re: Twonkymedia on Mybook - Possible Clue?
alephsmithalephsmith 1209693177|%e %b %Y, %H:%M %Z|agohover

Please post the output of

ls -lah /usr/local

and
ls -lah /usr/local/TwonkyVision
unfold Re: Twonkymedia on Mybook - Possible Clue? by alephsmithalephsmith, 1209693177|%e %b %Y, %H:%M %Z|agohover
Re: Twonkymedia on Mybook - Possible Clue?
aphilgr1aphilgr1 1209737401|%e %b %Y, %H:%M %Z|agohover

[root@MyBookWorld ~]# ls -lah /usr/local
total 24K
drwxr-xr-x 6 root root 4.0K Oct 27 2006 .
drwxr-xr-x 11 root root 4.0K Jan 18 12:41 ..
drwxr-xr-x 2 root root 4.0K Jan 18 12:41 bin
drwxr-xr-x 3 root root 4.0K Oct 27 2006 lib
drwxr-xr-x 10 root root 4.0K Oct 13 2006 samba
drwxr-xr-x 2 root root 4.0K Jan 18 12:41 wdc
[root@MyBookWorld ~]# ls -lah /usr/local/TwonkyVision
/usr/local/TwonkyVision: No such file or directory
[root@MyBookWorld ~]#

However, I do have this directory:

[root@MyBookWorld ~]# cd usr
[root@MyBookWorld usr]# cd local
[root@MyBookWorld local]# cd TwonkyVision
[root@MyBookWorld TwonkyVision]# ls
Linux-HowTo.txt plugins twonkymedia-armel-uclibc-0.9.28.zip
RevisionHistory radio.m3u twonkymedia-default.ini
cgi-bin resources twonkymedia.sh
licence-en.rtf twonkymedia twonkymediaserver
[root@MyBookWorld TwonkyVision]#

unfold Re: Twonkymedia on Mybook - Possible Clue? by aphilgr1aphilgr1, 1209737401|%e %b %Y, %H:%M %Z|agohover
Re: Twonkymedia on Mybook - Possible Clue?
alephsmithalephsmith 1209739668|%e %b %Y, %H:%M %Z|agohover

At the last stage run pwd (print working directory).

You will find that you are not in /usr/local/TwonkyVision but /root/usr/local/TwonkyVision

Look in the first line of of the second block of code, the tilde mark (~) indicated you are in the HOME directory of the logged in user. i.e. /root.

unfold Re: Twonkymedia on Mybook - Possible Clue? by alephsmithalephsmith, 1209739668|%e %b %Y, %H:%M %Z|agohover
Re: Twonkymedia on Mybook - Possible Clue?
aphilgr1aphilgr1 1209889091|%e %b %Y, %H:%M %Z|agohover

You where absolutely right. It works. Thanx

unfold Re: Twonkymedia on Mybook - Possible Clue? by aphilgr1aphilgr1, 1209889091|%e %b %Y, %H:%M %Z|agohover
Re: Twonkymedia on Mybook - Possible Clue?
wildandycwildandyc 1210188621|%e %b %Y, %H:%M %Z|agohover

All up and running - thanks for the solution. Good to see a bash shell solution whence most posters offer theory rather than practice. Much appreciated.

unfold Re: Twonkymedia on Mybook - Possible Clue? by wildandycwildandyc, 1210188621|%e %b %Y, %H:%M %Z|agohover
Re: Twonkymedia on Mybook - Possible Clue?
aphilgr1aphilgr1 1210230424|%e %b %Y, %H:%M %Z|agohover

NOOB HELP Part II

I lost the web interface this time. Luckily PuTTy still works!

There are 2 possible reasons that this happened:

1. When I tried to install Twonky, I extracted it several times in different folders (mostly by accident), then I manually deleted twonky files and folders one by one. I remember once (by accident again), instead of deleting folder cgi-bin, I deleted the folder bin using "rm - r bin" - stupid me. I think it must have been in /root/usr/ but it could have been anywhere else. However I thought I saved it since I rebooted my book and it worked like a charm. I even managed to make Twonky work after that.

2. Trying to make Twonky to Autostart, been in /etc/init.d/ I used:

"cp mionet.sh.bak S90twonkyview"

then

"vi S90twonkyview"

Then I copied the autostart script from the post above and right-clicked it in vi. I remember that the script was pasted correctly however, it seemed like I had triggered some action because PuTTy flashed 2 or 3 times just as when you hit enter being at the bottom. Then after reboot I have no web interface.

Any ideas?

How about a remote firmware update to restore initial state, is it possible? And how to find the correct firmware version without web inf?

Thanks in advance

unfold Re: Twonkymedia on Mybook - Possible Clue? by aphilgr1aphilgr1, 1210230424|%e %b %Y, %H:%M %Z|agohover
Re: Twonkymedia on Mybook - Possible Clue?
wildandycwildandyc 1210398210|%e %b %Y, %H:%M %Z|agohover

You may want to look at starting a fresh and rescueing your mybook at http://mybookworld.wikidot.com/rescue-procedure

unfold Re: Twonkymedia on Mybook - Possible Clue? by wildandycwildandyc, 1210398210|%e %b %Y, %H:%M %Z|agohover
Re: Twonkymedia on Mybook - Possible Clue?
aphilgr1aphilgr1 1210594911|%e %b %Y, %H:%M %Z|agohover

I am aware of this procedure however I would like to avoid the hassle and leave this as my last option.

The important thing is I can still use Putty to access my MBW and I can even manually start Twonkymedia. Is there a way to fix the Web interface like manually start it or something and perform a system restore?

If not then how about a remote image restore from within PuTTy?

unfold Re: Twonkymedia on Mybook - Possible Clue? by aphilgr1aphilgr1, 1210594911|%e %b %Y, %H:%M %Z|agohover
Re: Twonkymedia on Mybook - Possible Clue?
aphilgr1aphilgr1 1211190179|%e %b %Y, %H:%M %Z|agohover

The procedure described here: http://mybookworld.wikidot.com/rescue-procedure is definitively not for me :-(

unfold Re: Twonkymedia on Mybook - Possible Clue? by aphilgr1aphilgr1, 1211190179|%e %b %Y, %H:%M %Z|agohover
Re: Twonkymedia on Mybook - Possible Clue?
continuitycontinuity 1211666584|%e %b %Y, %H:%M %Z|agohover

Thanks for the info, i know have twonky streaming media to my 360 :D

I hope they hurry up and relase the transcoding engine. Although i have a feeling our little mybooks wont have the power to transcode on the fly :(

unfold Re: Twonkymedia on Mybook - Possible Clue? by continuitycontinuity, 1211666584|%e %b %Y, %H:%M %Z|agohover
Re: Twonkymedia on Mybook - Possible Clue?
AquaFireAquaFire 1212555555|%e %b %Y, %H:%M %Z|agohover

Hey Everyone,

Thanks for the valuable information you have shared. Infact I first installed MediaTomb, but then i was not able to see my media files recognized at my PS3 via MediaTomb, then reading this thread I decided to give TwonkyMedia a try.

Please note that I am not able to uninstall MediaTomb first, since I dont know the method to do so. I have just disable its startup script from the directory /etc/init.d , so MediaTomb does not runs in the background every time I start MyBook World Edition I (500GB).

By following the instructions on this thread I am able to install Twonky Media and start it as a service via puTTY, I have given my MBWE a static IP of 192.168.1.10, however in my web browser I can only see the first page of the Twonky server running. (http://192.168.1.10:9000) , when I click to go to the TwonkyMedia settings and configuration page (http://192.168.1.10:9000/config) the web browser keeps waiting for ever without a response from the MBWE. I have also defined the add static route entry command found the (Howto.txt) found the TwonkyMedia setup file from the website.

twonkymediajn5.jpg

Its kinda strange and I have'nt been able to make out a clue. Can anyone please help me on that, any other specific info which I can share to let you provide a solution, please reply for that.

Regards,
S.F.Hasan.

unfold Re: Twonkymedia on Mybook - Possible Clue? by AquaFireAquaFire, 1212555555|%e %b %Y, %H:%M %Z|agohover
Re: Twonkymedia on Mybook - Possible Clue?
AquaFireAquaFire 1212872904|%e %b %Y, %H:%M %Z|agohover

Thank you Everyone,

Despite being totally new to Linux, by the tremendous support and invaluable knowledge shared at this site via testing/experiments by different users, in a week's time I have successfully replaced my original 500GB (MyBook World I) with a Seagate 1 TB HardDisk, have installed a couple of applications via console (puTTY) and Optware.

Most of all , I was able to install and run Twonky Media automatically for all my digital media collection. So as opposed to my previous practice when I has to keep my PC on all the times for Tversity DLNA server, the only thing now on all the time is MBWE fully functional as a standalone DLNA server compatible with PS3 for all standard and High Definition video rendering.

Thanks everyone, the mission seems accomplished for the moment, but would love to try out new possibilities for which i am reading around in the forums/articles.

Keep up the good work.

Best Regards,
AquaFire.

unfold Re: Twonkymedia on Mybook - Possible Clue? by AquaFireAquaFire, 1212872904|%e %b %Y, %H:%M %Z|agohover
Re: Twonkymedia on Mybook - Possible Clue?
funny4lifefunny4life 1215127791|%e %b %Y, %H:%M %Z|agohover

First I would like to thank everyone, because without their instructions, I would be completely lost.

On to my question…

I followed the instuctions and was able to install and get twonky to run. I was just wondering if there is a different text editor that I could use to edit the files as to setup the automatic load on system start. The second thing that i was wondering is, is it possible to get this to work with the PS3. Most of my videos are dixv or xvid and they do work when played directly from a usb connected hard drive, yet PS3 is unable to play them, says files unsupported.

They do however play with my Xbox, so I am simply wondering why not on the PS3.

unfold Re: Twonkymedia on Mybook - Possible Clue? by funny4lifefunny4life, 1215127791|%e %b %Y, %H:%M %Z|agohover
Re: Twonkymedia on Mybook - Possible Clue?
funny4lifefunny4life 1215305539|%e %b %Y, %H:%M %Z|agohover

Ok, I got it working, simply had to tell twonky that one of the connections is a PS3

unfold Re: Twonkymedia on Mybook - Possible Clue? by funny4lifefunny4life, 1215305539|%e %b %Y, %H:%M %Z|agohover
new post
Unless stated otherwise Content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License