Differences

This shows you the differences between the selected revision and the current version of the page.

howto:twonkyupnpserver 2009/09/22 09:08 howto:twonkyupnpserver 2017/09/06 18:38 current
Line 1: Line 1:
-====== Installing Twonkymedia UPnP Server ====== +====== Installing Twonkymedia UPnP Server ====== 
-This will allow proper UPnP serving to Playstation 3 & XBOX360 Consoles - something alot more interesting now they both support mpeg4 (Divx/Xvid) Codecs. UPnP is improved in 1.04 firmwares but this will add the feature to 1.03 Firmwares.+This will allow proper UPnP serving to Playstation 3 & XBOX360 Consoles - something a lot more interesting now that they both support mpeg4 (Divx/Xvid) Codecs. UPnP is improved in 1.04 firmwares but this will add the feature to 1.03 Firmwares.
This tutorial is originally from here - This tutorial is originally from here -
[[http://boardsus.playstation.com/playstation/board/message?board.id=ps3media&thread.id=47398|PS3 Forums]] [[http://boardsus.playstation.com/playstation/board/message?board.id=ps3media&thread.id=47398|PS3 Forums]]
-TwonkyMedia isn't free, but it includes a 30-day trial. According to their website, it currently costs $39.95 for a TwonkyMedia license (version 4.4.x).+TwonkyMedia isn't free, but it includes a 30-day trial. According to their website, it currently costs $39.95 for a TwonkyMedia license (version 4.4.x). Twonky doesn't provide telephone or email support for software installed on a DNS-323, so make sure that it is working for you properly before buying the license key. 
 + 
 +===Which Version to Install?=== 
 + 
 +Twonky Server version 4.4.18 installs easily and works well, but is no longer being updated for more recent UPnP clients or getting new features. Additionally it allows you to edit the navigation trees for example to include A-Z sorting of large music or video collections. 
 + 
 +Currently the latest version is 6.0.1, which can also install and run without problem, but requires some configuration changes after installation. Extending the navigation tree requires editing XML files, or at least replacing the default XML files with downloaded versions (eg from  [[http://forum.qnap.com/viewtopic.php?f=177&t=29318&start=15|this QNAP forum post]]) 
 + 
 +**Downloading the Twonky software** 
 + 
 +Download links for 4.X, 5.X and 6.X versions of the software are available from this links on [[http://twonkyforum.com/viewtopic.php?f=16&t=7653|this page of the Twonky website]]. 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
Line 18: Line 70:
[[http://wiki.dns323.info/howto:telnet|Telnet Install Instructions]] [[http://wiki.dns323.info/howto:telnet|Telnet Install Instructions]]
-Another way (and the way I went) was to install [[http://www.shadowandy.net/_html/archives/2007/10/mldonkey_292_real_simple.html|MLDonkey]], which not only installs Telnet but also a edonkey/torrent interface for your DNS-323, all by copying a few files via ftp.+Another way (and the way I went) was to install [[http://www.shadowandy.net/?s=MLDonkey|MLDonkey]], which not only installs Telnet but also a edonkey/torrent interface for your DNS-323, all by copying a few files via ftp.
NOTE = Since the firmware 1.05, the DNS-323 has BitTorrent support. NOTE = Since the firmware 1.05, the DNS-323 has BitTorrent support.
-**Install TwonkyMedia 4.4.11**+**Install TwonkyMedia 4.4.18**
--------------------------------- ---------------------------------
-Now, you can install TwonkyMedia version 4.4.18 for D-Link DNS-323, {{:download:dns323-4.4.11-20090108.zip}}. Originally from [[http://www.twonkyforum.com/unsupported/4.4.18/twonkymedia-dns323-4.4.18.zip|Here]].+Now, you can install TwonkyMedia version 4.4 for D-Link DNS-323, {{:download:dns323-4.4.11-20090108.zip}}. Version 4.4.18 is available from [[http://www.twonkyforum.com/unsupported/4.4.18/twonkymedia-dns323-4.4.18.zip|the Twonky website]].
-The 5.1 version is also available [[http://www.twonkyforum.com/unsupported/5.1/twonkymedia-dns323-5.1.zip|Here]]+Twonky are not producing more 4.4.x versions; you can get version 5.0.x, 5.1.x or 6.x versions from the [[http://twonkyforum.com/viewtopic.php?f=16&t=7653|Twonky media site]], but see the additional notes below.
- +
-Always be sure to check for the latest version of Twonky on the Twonky media site.+
**Windows** **Windows**
Line 57: Line 107:
Start server by running twonkymedia. Start server by running twonkymedia.
 +
 +**Additional Configuration for version 6.0.1 (also needed for version 5.X?)**
 +
 +After installing Twonky you will have a file called starttwonky.sh in the root of your first shared drive. You need to modify this file to avoid your DNS-323 breaking if you have a large media library (pink lights and missing file shares). If you do this from Windows then use a text editor that is aware of "Unix line endings", like notepad++.
 +
 +The example file below shows the suggested changes with comments.
 +<file>
 +#!/bin/sh
 +route add -net 224.0.0.0 netmask 240.0.0.0 dev egiga0
 +
 +cd /mnt/HD_a2/twonky
 +# The lines above are written by the twonky installer and show the install
 +# directory for this twonky installation. The new file and directory
 +# that is created below should be inside it.
 +
 +# On the DNS-323, /tmp, /var and /mnt are in the root partition (/). The root
 +# partition is entirely in RAM and has total size 9.7MB.
 +
 +# By default Twonky 6.0.1 is built to log to /tmp/TwonkyMediaServer-log.txt,
 +# and other data is stored in /var and /mnt.
 +
 +# Two problems:
 +# 1/ The available space in / is quickly filled, the DNS-323 stops serving files
 +# and the status lights on the front go pink.
 +# 2/ Any saved twonky configuration is lost after a reboot, including the
 +# license key.
 +
 +# So we need to change the Twonky configuration to store this data on the big
 +# disks instead. This is easy to do by editing the starttwonky.sh script (this file!)
 +
 +## First create a directory for working files:
 +# mkdir /mnt/HD_a2/twonky/appdata
 +# or create it using Windows File explorer in \\yourNas\Volume_1\twonky
 +
 +# Add 2 command line options to change the location of the application data
 +# (which includes the ini file) and log file:
 +/mnt/HD_a2/twonky/twonkymedia -logfile /mnt/HD_a2/twonky/TwonkyMediaServer-log.txt -appdata /mnt/HD_a2/twonky/appdata &
 +# You should also edit the file /mnt/HD_a2/twonky/appdata/twonkymedia-server.ini to
 +# set suitable values for uploaded and cached media files using the settings for
 +# servermanagedmusicdir, servermanagedpicturedir and servermanagedvideodir
 +
 +# More about command line options: Any option in the .ini file can be used with a
 +# leading '-' on the command line. For example -disablelocalssdp 0
 +
 +# You can test different options directly via HTTP (browser address bar)
 +#http://twonky_IP:9000/rpc/set_option?disablelocalssdp=0
 +</file>
 +
 +Symlinks could be used to fix the problem instead, described here:
 +[[http://dns323.kood.org/forum/viewtopic.php?id=5288]]
 +<file>
 +## First create a directory for working files:
 +# mkdir /mnt/HD_a2/twonky/appdata
 +# or create it using Windows File explorer in \\yourNas\Volume_1\twonky
 +## And a file for log data like this
 +# touch /mnt/HD_a2/twonky/TwonkyMediaServer-log.txt
 +
 +Then add these lines near the beggining of starttwonky.sh:
 +ln -s /mnt/HD_a2/twonky/appdata /var/twonkymedia
 +ln -s /mnt/HD_a2/twonky/TwonkyMediaServer-log.txt /tmp
 +</file>
 +
 +---------------------------------
 +---------------------------------
 +---------------------------------
 +
 +
 +
 +====== Twonky 6.0.31: Detailed installation instructions and downloadable replacement starttwonky.sh file ======
 +
 +In case it helps anyone who is maybe a bit unsure of the exact procedure, I've written very comprehensive instructions (with several screen shots) and links to download a custom starttwonky.sh file which checks for (and if not present, automatically creates) the new directories for the database and cache, as well as moving the log file, then also creates the required symlinks.
 +
 +To see these instructions for installing Twonky 6.0.31 on a D-Link DNS 323 and obtain the files: [[http://forums.linn.co.uk/bb/showthread.php?tid=10063|click here]]. There are also links to my custom tree packs and an optional alternative clients.db file (which defaults to the full resolution art setting for control points that don't set Twonky automatically; Kinsky Desktop and Konduktor being two examples of CP's that don't advertise themselves in the user agent field).
 +
 +---------------------------------
 +---------------------------------
 +---------------------------------
====== (ESPAÑOL) Instalando Twonkymedia UPnP Server ====== ====== (ESPAÑOL) Instalando Twonkymedia UPnP Server ======
Line 110: Line 237:
Traducido por amunoz_tico Traducido por amunoz_tico
- 

Navigation

Personal Tools