Updated on | #twonky, #twonkyserver, #port | 71 User comments | 1 Shares

TwonkyServer or Twonky using UPnP, DLNA and DTCP-IP

Universal Plug and Play (UPnP) is a set of networking protocols that permits networked devices, such as personal computers, printers, Internet gateways, Wi-Fi access points and mobile devices. The Digital Living Network Alliance (DLNA) uses UPnP for media management, discovery and control and it defines interoperability guidelines to enable sharing of digital media between multimedia devices. In other words, UPnP defines the type of device like "server", "renderer" and "controller" that DLNA supports and the mechanisms for accessing media over a network.

A UPnP AV media server like Twonky is a UPnP-server that provides media library information and streams media-data (like audio/video/picture/files) to UPnP clients on the network that could be a TV, Internet Radio or an mobile phone. The TwonkyMedia server is a DLNA-compliant UPnP AV server software and meets DTLA (Digital Transmission License Administrator). It supports DRM (Digital Rights Management) and DTCP-IP (Digital Transmission Content Protection over IP) to download protected media and runs on Linux, Mac OS X and Windows as well as Android, iOS, and other mobile platforms.

Twonky is able to share media files to any UPnP client on your local-network. The UPnP client can then play those media files if it supports those codecs/container formats. If this is not the case, TwonkyServer is able to transcode the format, which fits the clients codecs (e.g. mp3 to wav). Furthermore, twonky server supports DLNA protected streaming, where DTCP-IP is mandatory for protected media, that has to be implemented in your DLNA client. In this article, I want to show how you can easily install Twonky Server under Ubuntu. I prepared an Twonky Server Installer for Ubuntu and uploaded it on the Ubuntu Launchpad PPA. Furthermore, I want to use this page to publicate my experience with Twonky Server.

Tools Overview

Twonky has a really, really, really, really bad end customer support. X years ago they had a great customer support but since it is bought by PacketVideo (PV) you can forget it completely. No answers on emails, the forum is dieing because of missing moderator's and other plattforms rather than x86 (32bit) are not supported officialy. The focus lies on OEM (NAS etc.) and end customer are lost at PV. They have no documentation for all these tools and functions but on the other side it is still the best UPnP-Media-Server on the market and it is still under development. For example, a Twonky 8 Webcast is already online, where PV shows the latest features of the cloud-enabled Twonky SDK for OEMs. In 2014, I found a PDF where some functions are described:

Twonky tuner integration enables customers to control, schedule, record, and play broadcast video, unifying access to and control of premium and user content (I don't know how, but the service exists).

Twonky SSDP uses the Simple Service Discovery Protocol (SSDP), which is a network protocol based on the Internet Protocol Suite for advertisement and discovery of network services and presence information.

Twonky WebDAV syncs content to mobile devices. It uses the Web Distributed Authoring and Versioning (WebDAV) protocol which is an extension of the Hypertext Transfer Protocol (HTTP) that facilitates collaboration between users in editing and managing documents and files stored on servers.

In 2010, PacketVideo became a wholly owned subsidiary of NTT DoCoMo, which sold their North American and European Twonky operations to Lynx Technology in May 2015. Lynx Technology continues the development of the Twonky software platform for its customers around the world, including North America, Europe and Asia. In 2015, Lynx Technology stopped the development/sell of Windows based Twonky Manager, which is not a real issue as Ubuntu user ;-). Today, they are optimizing Twonky and releasing some robust versions, which gives the community a good feeling.

Interfaces

HTML

For configuration in your local network:

http://[SERVER]:9000/webbrowse

For remote HTTP over Internet:

http://[SERVER]:9100

Flash

http://[SERVER]:9000

RSS Feed

http://[SERVER]:9000/nmc/rss

JSON Feed

http://[SERVER]:9000/nmc/rss?fmt=json

TwonkyServer from PPA

The TwonkyServer Personal Package Archive (PPA) at launchpad, is a collection of Twonky Tools and Installer that isn't included in Ubuntu by default as well as on the Twonky Homepage.

You can activate this PPA by typing the following command into your shell:

  1. sudo add-apt-repository ppa:moonmaker/twonkyserver

Installation of PPA twonky in Debian

If you are using Debian, you need to install the software-properties-common package for Jessie or python-software-properties package for Wheezy in order to use add-apt-repository at first:

Debian Wheezy and earlier

  1. sudo apt-get install python-software-properties

Debian Jessie and later

  1. sudo apt-get install software-properties-common

Now you are able to insert the following lines in /etc/apt/sources.list with sudo nano etc/apt/sources.list:

  1. deb http://ppa.launchpad.net/moonmaker/twonkyserver/ubuntu wily main
  2. deb-src http://ppa.launchpad.net/moonmaker/twonkyserver/ubuntu wily main

That's all for Debian users. Please follow the common instructions for twonkyserver!

Installation of twonkyserver package

  1. Run: sudo apt-get update and install it with sudo apt-get install twonkyserver
  2. Set run=yes in /etc/default/twonkyserver
  3. Start TwonkyServer with sudo service twonkyserver start
  4. Open your Browser and go to http://127.0.0.1:9000 in order to configure your TwonkyServer

Removing twonkyserver package

  • If you want to remove it but you want to save your database files: Run: sudo apt-get remove twonkyserver

  • If you want to remove it completly: Run: sudo apt-get purge twonkyserver

Problems with ffmpeg in Ubuntu 14.04/14.10

The transitional ffmpeg package has been removed from trusty/Ubuntu 14.04 and will return to the official Ubuntu repositories with Ubuntu 15.04 Vivid Vervet. But you can use Kyril's PPA:

  1. sudo add-apt-repository ppa:kirillshkrogalev/ffmpeg-next
  2. sudo apt-get update

Problems with installation process

Sometimes it happends, that the installation process stopped a message like "/tmp/twonky folder already exists" and it is not possible to install the package. So, please use the following steps:

  • Remove the tmp folder with rm -R /tmp/twonky
  • Remove the package sudo apt-get remove twonky*
  • Install the package again with sudo apt-get install twonkyserver

Good luck! ;-)

Installation of 'twonkyserver-sortfix'

Are you looking for an official or unofficial way to sort files streamed through Twonky DLNA? I had this problems for folders in twonky on my Panasonic TV. So I created another package where these fixes are implemented. You can install this package with

sudo apt-get install twonkyserver-sortfix

After installation you have to start the fix menu with sudo /usr/bin/twonkysortfix. Select your Device and the patch will be installed. If you are missing your fix, please create a diff (patch) and send it to me. I will throw it into the package.

How to create a diff-patch?

The diff and patch commands are used to get differences between original files and updated files in such a way that other people who only have the original files can turn them into the updated files with just a single patch file that contains only the differences. In this example I will show you how you can make a diff-file from Panasonic_VIERA.xml.

At first you have to create a temporary folder, where you have to copy the xml file inside.

  1. mkdir /tmp/twonkytest
  2. cp /usr/share/twonky/resources/devicedb/Panasonic/Panasonic_VIERA.xml /tmp/twonkytest/Panasonic_VIERA.xml.patch

After this step you can start to edit the file /tmp/twonkytest/Panasonic_VIERA.xml.patch. If you are happy with your changes, you can start to create the diff file with:

  1. diff -u /usr/share/twonky/resources/devicedb/Panasonic/Panasonic_VIERA.xml /tmp/twonkytest/Panasonic_VIERA.xml.patch > /tmp/twonkytest/Panasonic_VIERA.xml.diff

The diff-file (Panasonic_VIERA.xml.diff) is looking like this:

  1. +++ /usr/share/twonky/resources/devicedb/Panasonic/Panasonic_VIERA.xml  2013-11-22 17:24:02.000000000 +0100
  2. @@ -47,8 +47,11 @@
  3.                 </MimeTranslations>
  4.         </Adaptations>
  5.         <DeviceQuirks>
  6. -        <Quirk>RES_ADD_FLAG</Quirk>
  7. +               <Quirk>RES_ADD_FLAG</Quirk>
  8.                 <Quirk>SUPPORT_MPG2TS_TIME_SEEK</Quirk>
  9.                 <Quirk>FORCE_4TH_FIELD</Quirk>
  10. +               <Quirk>VIERA_DIVXPROFILE</Quirk>
  11. +               <Quirk>RES_ADD_FLAG</Quirk>
  12. +               <Quirk>IGNORESORT</Quirk>
  13.         </DeviceQuirks>
  14.  </Client>

In order to include your diff-file into the twonkyserver-sortfix package, you have to send the diff-file to me. The best way is to post it on pastebin.com and send me the link by mail.

Installation of 'twonkyserver-transcoding'

TwonkyServer supports transcoding for media types. In order to realize this, Twonky needs a config file to transcoding from one format into another format that is supported by your Client (Tv, Radio etc.). At first you have to install the package with

sudo apt-get install twonkyserver-transcoding

After installation you have to look into /etc/twonky/cgi-bin in order to activate the transcoding script. The following transcoding scripts are available:

From Media TypeTo Media TypeScript
alacwavalac-wav.desc
all (ts, avi..)mpeg, mpgffmpeg-all-mpeg.desc
divx (avi)mpeg, mpgffmpeg-divx-mpeg.desc
mkvmpeg, mpgffmpeg-mkv-mpeg.desc
flacwavflac-wav.desc
movmpeg2vlc-mov-mpeg2.desc
wmamp3vlc-wma-mp3.desc

Here you can find an example:

  1. exec: vlc $infile --novideo :sout=#transcode{acodec=mp3}:duplicate{dst=std{access=file,mux=ffmpeg,dst=$outfile}} vlc:quit
  2. from=audio/x-ms-wma
  3. to=audio/mpeg
  4. asynchronous
  • exec - Command that starts the transcoding. Variable $outfile and $infile stands for the file
  • from - Source media type
  • to - Destination media type

TwonkyServer Start-/Stop-Script

You can manage your Twonky Server by using the Start-/Stop-Script with

sudo service twonkyserver {start|stop|status|restart|rebuild}
  • start: Start Twonky Server
  • stop: Stop Twonky Server
  • restart: Restart Twonky Server
  • rebuild: Rebuild the Twonky Server Database and restart it

For example:

sudo service twonkyserver restart

Playlists

  • Playlists that contain URLs starting with "http://" do not work. If you have playlists that heavily rely on such URL, you may want to defer the update till the next version.

Internet Radio Playlist

You can use the windows play list (WPL) format:

  1. <?wpl version="1.0"?>
  2. <smil>
  3.     <head>
  4.         <meta name="Type" content="M"/>
  5.         <title>some shoutcast channels</title>
  6.     </head>
  7.     <body>
  8.         <seq>
  9.             <media src="http://yp.shoutcast.com/sbin/tunein-station.pls?id=20594" title="Radio ZU Live"/>
  10.             <media src="http://yp.shoutcast.com/sbin/tunein-station.pls?id=816" title="Joy Turk"/>
  11.             <media src="http://yp.shoutcast.com/sbin/tunein-station.pls?id=1278832" title="Mostly Classical - S K Y . F M"/>
  12.         </seq>
  13.     </body>
  14. </smil>

Save it as myradio.wpl.

Beam media sources

Since TwonkyServer Version 7.x.x it's possible to beam a video via Uniform Resource Locator (URL) to your Client. The Syntax is looking like this: x.x.x.x:9000/beam?renderer=[BOOKMARK]&url=[URL]

  • [BOOKMARK] is the twonky boomark or the ip address of the client
  • [URL] is the url of the item to be beamed

Beaming a Youtube video via TwonkyServer

Beaming a video from your local server to a client is looking like this:

http://[SERVER]:9000/nmc/rpc/beam?renderer="[CLIENT]"&url=[VIDEO_URL]
  • [SERVER] is the twonkyserver IP/Domain
  • [CLIENT] is the UPNP Client
  • [VIDEO_URL] is the Internet Video URL

Here you can find an example:

http://192.168.1.2:9000/nmc/rpc/beam?renderer="192.168.1.3"&url=http://www.youtube.com/watch?v=_g4yjktCDyo
  • [SERVER]= 192.168.1.2
  • [CLIENT]= 192.168.1.3
  • [VIDEO_URL]= http://www.youtube.com/watch?v=_g4yjktCDyo

Twonky Port Settings

When you use a firewall you change the way to communicate with other online services. The firewall blocks all incoming and/or outcoming traffic unless you open a port in the firewall (e.g. iptables) to let a specific IP communicate with your twonky server. In the following table you can find the Twonky Server port numbers:

ProtocolPortTypeNetworkArgument in ConfigDescription
HTTP9000TCPHomehttpport=9000Port of the HTTP server
WebDAV9090TCPHomewebdavport=9090WebDAV Port (abandoned since 7.2.0)
SSDP1900UDPHomessdpheartbeatport=1900Port number for the SSDP heartbeat
HTTP (remote)9100TCPInternethttpremoteport=9100Http server port for remote access
HTTP (tuner)9003TCPHometwonkytuner_port=9003The TwonkyTuner's HTTP port
DLNA DTCP-IP40000UDPHomeDTCP-IP is integrated into the DLNA specification

You can change the remote port by using the following RPC command:

http://[SERVER]:9000/rpc/set_option?httpremoteport=9100

Remote Access

You have to set various parameters in your /etc/twonky/twonkyserver.ini in order to enable remote access:

  1. # access to web config pages, 0 for denied, 1 for local only, 2 for open
  2. enableweb=
  3.  
  4. # enable https remote connections
  5. enabletls=
  6.  
  7. # http server port for remote access
  8. httpremoteport=
  9.  
  10. # dynamic dns prefix for remote access, including http:// or https://
  11. dyndns=
  12.  
  13. # enable remote access
  14. remoteaccess=
  15.  
  16. # for protection of the web config pages
  17. accessuser=
  18.  
  19. # for protection of the web config pages
  20. accesspwd=
  21.  
  22. # dynamic dns prefix for remote access, including http:// or https://
  23. dyndns=

Alternatively you can set these parameters by using the RPC command interface:

  • http://127.0.0.1:9000/rpc/set_option?enableweb=2
    There should be no need to change this setting, by Default this setting = 2.
    NOTE: If set to anything other than 2, remote access will not work.
  • http://127.0.0.1:9000/rpc/set_option?enabletls=0
    By Default this setting = 1. This value means, that only HTTPS connections will work. If you intend to use HTTP for remote access, it must set to 0.
    NOTE: it appears the HTTPS isn't working as expected, so we are forced to use HTTP.
  • http://127.0.0.1:9000/rpc/set_option?httpremoteport=9100
    By default this setting has no value, also by default the internal port for Twonky is 9000. Therefore, you can use that option for the remote access port.
  • http://127.0.0.1:9000/rpc/set_option?dyndns=http://myserver.dyndns.com By default this setting has no value. The value uses here is what is used in the links generated by twonky for remote access.
    NOTE: if enabletls=1, you must use HTTPS, if not use HTTP.
    NOTE: since enabletls=1 isn't working correctly, enabletls=0 is needed.
  • http://127.0.0.1:9000/rpc/set_option?remoteaccess=1
    By default this setting has no value, meaning its not enabled. This must be set to = 1 for remote access to work.

Add a remote access user:

  • http://127.0.0.1:9000/rpc/set_option?accessuser=someusername - HIGHLY RECOMMENDED
  • http://127.0.0.1:9000/rpc/set_option?accesspwd=somepassword - HIGHLY RECOMMENDED

After this, you have to restart your server.

Access twonky server over internet by using HTTPS

If you have some problems with the HTTPS certificate, you can use HaProxy in combination with a DynDNS provider. Please have a look at my tutorial SSL Certicate for HAProxy, where I describe how you can buy and configure a cheap and secure certificate from GOGETSSL. Furthermore, in my tutorial Dynamic DNS you can find a solution for continuously refreshing your domain with a new IP address.

Database property items

ItemDescription
upnp:classUpnP class of the item
dc:creatorPrimary content creator or owner of the object
dc:dateThe date of the item YYYY-MM-DD
dc:descriptionThe description of the item
dc:titleMain title of the item
pv:orientationPicture orientation
bitrateBitrate in bytes/seconds of the encoding of the resource
bitrateConstantFlag to indicate constant or variable Bitrate
bitsPerSampleEncoding characteristic of the resource
chapterDurationChapter duration in ms
chapterFileFilename of a DVD chapter (.vob)
chapterNumberChapter number
chapterOffsetByte offset at the vob
colorDepthEncoding characteristic of the resource.
durationTime duration of the playback of the resource
pv:extensionFile/url extension
mimeTypeThe mime type of the item (if not auto detected)
nrAudioChannelsNumber of audio channels
resolutionThe resolution of the item (width x height)
sampleFrequencySample frequency of the audio in HZ.
sizeSize in bytes of the resource
subtitleIf subtitle file (.srt/.sub/.txt/.smi/.ssa/.psb/.ass ) exists for this movie (same filename as movie file except extension) set this to the filename
pv:addedLast60Set to 1, if added in last 60 days - auto calculated property!
pv:addedTimeTimestamp when the item was added (unix time)
upnp:albumArtURIObject ID where the albumart is related - for containers only!
pv:albumArtLengthLength of album art - if there / for pictures used for thumbnails!
pv:albumArtOffsetOffset to album art - if there / for pictures used for thumbnails!
pv:albumArtResolutionXxY resolution of the albumArt in pixels (typically image item or video item).
pv:aspectRatioThe aspect ratio of the item
pv:compilationSet to 1 if we have a compilation item
pv:sortDefault sort criteria for container
pv:highratedSet if rating >4 - auto calculated property!
pv:lastPlayedTimeYYYY-MM-DD
pv:lastUpdatedThe unix time when the db entry of the item was last updated
pv:modificationTimeThe the modification time of the item (on disc) (Unix time)
pv:ratingValue between 1 (don’t like) to 5 (like)
pv:playcountNumber of times an item was played
upnp:actorName of an actor appearing in a video item
upnp:albumArtistAlbum Artist
upnp:albumTitle of the album to which the item belongs.
upnp:artistName of an artist - always use with role=Performer here
upnp:authorName of an author - always use role=Composer here
upnp:genreName of the genre to which an object belongs
upnp:originalTrackNumberOriginal track number on an audio CD or other medium

Other Commands

  • Twonky NMC Test-Tool http://[SERVER]:9000/resources/nmc.html and http://SERVER]:9100/resources/nmc.html
  • Twonky DTCP-IP Test http://[SERVER]:9000/resources/dtcpupload.htm
  • Latest TwonkyServer Status using RPC http://[SERVER]:9000/rpc/info_status
  • See what is currently streaming by using RPC http://[SERVER]:9000/rpc/stream_info
  • Set config option using RPC http://[SERVER]:9000/rpc/set_option?CONFIGOPTION=VALUE
  • Rebuild the database using RPC http://[SERVER]:9000/rpc/rebuild
  • Clear Cache by using RPC http://[SERVER]:9000/rpc/clear_cache
  • Show Twonky Config by using RPC http://[SERVER]:9000/rpc/get_all

Well, what do you think?

Francis Grignon said
Work perfectly under Ubuntu thanks! Do you have also a package to Debian Wheezy?
Thomas Ludwig said
Hi Francis, good to hear that it is working. You could use the lucid version, whose libc is compatible with Debian Wheezy. You can find it here: https://launchpad.net/~moonmaker/+archive/ubuntu/twonkyserver?field.series_filter=lucid
Cheers,
Thomas
Volker Jacob said
Hello Thomas,
the installation is not working at the moment, because of anonfiles.com is not reachable.
Thanks

Volker
Thomas Ludwig said
Hi Volker, I fixed the link. It should be available in some minutes.
Cheers,

Thomas
Volker Jacob said
Thank You for quick response and fixing!
BR

Volker
CK Watt said
Hi Thomas. The best tutorial I have found. I have only one problem : I can't find twonkyserver when I get to the etc/
default folder, so I can't set run=yes. Can you help me with this, please ?
Thomas Ludwig said
Hi CK,

thx that you like this tutorial. What get you out when you type 'ls -l /etc/default/twonkyserver' in your command line?
CK Watt said
Hi again. It sends back

-rw-r--r-- 1 root root 8 oct. 31 16:43 /etc/default/twonkyserver

Thanks for the help !
Thomas Ludwig said
that looks good! Now you can edit this file 'sudo nano /etc/default/twonkyserver' and follow the tutorial.
Tapas Kumar Sharma said
The best tutorial indeed. I was fumbling to install it on Ubuntu14.04 and could not understand what was going wrong. This tutorial walked me through all the aspects of installation. Thanks a lot.
Thomas Ludwig said
Hi Tapas,
thanks for your positive feedback!
Tapas Kumar Sharma said
How to allow the library on an external hard disk to be added to twonky server? I gave it the full path in twonky setup but somehow it fails to work. Please help!
Christian Faßbender said
christian@Ripper:~$ sudo apt install twonkyserver
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Einige Pakete konnten nicht installiert werden. Das kann bedeuten, dass
Sie eine unmögliche Situation angefordert haben oder, wenn Sie die
Unstable-Distribution verwenden, dass einige erforderliche Pakete noch
nicht erstellt wurden oder Incoming noch nicht verlassen haben.
Die folgenden Informationen helfen Ihnen vielleicht, die Situation zu lösen:

Die folgenden Pakete haben unerfüllte Abhängigkeiten:
twonkyserver : Hängt ab von: ffmpeg ist aber nicht installierbar
E: Probleme können nicht korrigiert werden, Sie haben zurückgehaltene defekte Pakete.
christian@Ripper:~$ sudo apt install twonkyserver ffmpeg
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Paket ffmpeg ist nicht verfügbar, wird aber von einem anderen Paket
referenziert. Das kann heißen, dass das Paket fehlt, dass es abgelöst
wurde oder nur aus einer anderen Quelle verfügbar ist.

E: Für Paket »ffmpeg« existiert kein Installationskandidat.
christian@Ripper:~$
Thomas Ludwig said
Hi Tapas, what do you understand as library? A folder? You need the same
access rights as twonkyserver is running for your folder, so that
twonky is able to read it. You could test it with "sudo chmod -R 755 /external/harddisc"
Thomas Ludwig said
Hallo Christian, hast du schonmal dieses PPA ausprobiert? https://launchpad.net/~kirillshkrogalev/+archive/ubuntu/ffmpeg-next
Christian Faßbender said
danke dir jetzt installiert er es wenigstens
Tapas Kumar Sharma said
Hi Thomas, I tried the above, but somehow Twonky does not see it at all. and to confuse me further, I copied a video mp4 to the home folder in which the videos exist and that video cannot be seen by twonky. refresh, rebuild restart...all fail to make the file visible to twonky. It is weird for me.
Thomas Ludwig said
Hi Tapas, can you please type in "ls -l /external/harddisc/" ?
Christoph Schmidt said
Hi,
ich hab leider das Problem, dass SSL nicht richtig funktioniert (Twonkyserver Version 7.3), obwohl TLS d.h. HTTPS Verbindungen aktiviert sind (enabletls = 1). Das merkwürdige ist, dass auf dem eingestellten Port für HTTP Zugriff 9000 nur normale HTTP Anfragen funktionieren. Bei HTTPs wird die Seite bzw. der Server nicht angezeigt. Ist das normal? Oben im Text ist ja angedeutet, dass SSL sich nicht so verhält, wie erwartet. Wäre echt schade, wenn man nur HTTP verwenden kann.
Thomas Ludwig said
Hi Christoph, selber verwende ich im "Intranet" kein HTTPS für Twonky und nach "draußen" gebe ich die Daten nicht weiter. Falls Twonky mit HTTPS nicht richtig funktioniert und du es unbedingt nutzen möchtest, könntest du noch HaProxy dafür verwenden. HaProxy verwendet HTTPS und leitet dann die Anfrage an Port 9000 weiter.
Christoph Schmidt said
Hi,
hat alles super funktioniert mit HaProxy - abgesehen davon, dass die Verlinkung der Dateien auf der Twonky Weboberfläche nicht mehr passt. Sie werden auf 127.0.0.1 verlinkt & da ich nicht lokal auf dem Server mit Twonky arbeite, gibts Probleme. D.h. ich kann nun keine Dateien aus dem Webbrowser mehr abspielen. Ist aber nicht so schlimm, dafür ist der Server ja sowieso nicht gedacht. Zugriff über SSL funktioniert nun. Performance Probleme bekomme ich mit HaProxy nicht oder? Braucht das zusätzliche CPU-Leistung? Gefühlt baut sich die Seite noch genauso schnell auf, wie vorher.
Thomas Ludwig said
Hi, du könntest noch folgendes probieren: Besorge dir eine DynDNS Adresse und benutze dann die Option "dyndns" in twonky.
# dynamic dns prefix for remote access, including http:// or https://
dyndns=

Somit müssten eigentlich alle links in twonky durch die neue URL ersetzt werden.
Tapas Kumar Sharma said
ls -l /external/harddisc/
ls: cannot access /external/harddisc/: No such file or directory
again tried:
ls -l /media/tsharma/Elements
total 122
drwx------ 1 tsharma tsharma 0 May 13 2013 autorun
-rw------- 1 tsharma tsharma 36 Oct 17 2002 autorun.inf
drwx------ 1 tsharma tsharma 4096 Mar 8 2014 Downloads
-rw------- 1 tsharma tsharma 528 Mar 29 2013 MediaID.bin
drwx------ 1 tsharma tsharma 0 Mar 29 2013 Music
drwx------ 1 tsharma tsharma 0 Aug 3 19:27 Personal
drwx------ 1 tsharma tsharma 12288 Nov 4 2013 Photos
drwx------ 1 tsharma tsharma 4096 Oct 6 2013 $RECYCLE.BIN
drwx------ 1 tsharma tsharma 0 May 9 2013 RECYCLER
drwx------ 1 tsharma tsharma 4096 Oct 31 23:27 System Volume Information
drwx------ 1 tsharma tsharma 4096 Oct 31 21:14 TAPAS-PC
drwx------ 1 tsharma tsharma 90112 Dec 11 18:57 Videos
drwx------ 1 tsharma tsharma 0 Mar 29 2013 WindowsImageBackup
drwx------ 1 tsharma tsharma 4096 Oct 11 16:28 Work
Thomas Ludwig said
Here is an example to understand your Music folder rights: http://pastebin.com/Pzru2u7W

You can give access with:
sudo chmod -R 766 /media/tsharma/

And check it again with:
ls -l /media/tsharma/Elements
Johnny Wong said
How do you add Twonky server to start automatically after a reboot?
Thomas Ludwig said
Hi Johnny, normally it should work? But I can't remember when my server had the last reboot.
Johnny Wong said
yeah I know weird right? So I ended up using rcconf ... that got it to load after a reboot every time.
Pascal Beckstein said
Hallo Thomas,

vielen herzlichen Dank für diese Beschreibung und das Launchpad-Repo für den Twonky-Server!

Ich hätte diesbezüglich zwei kleine Fragen:
- Bei mir funktioniert der Neustart des Servers über das Web-Interface nicht. Ist das normal? Vielleicht irgendein Berichtigungs-Problem?
- Planst Du die Version 8 von Twonky irgendwann in dein Repo aufzunehmen?

Viele Grüße,
Pascal
Thomas Ludwig said
Hi Pascal,

stimmt, dies scheint ein bug zu sein. Es kann daran liegen, dass twonky ohne root rechte unter einem eigenen User läuft.
Ich wüsste aber im Augenblick nicht wie ich dies beheben kann.

Ich habe erst gerade gesehen das twonky 8 released wurde und werde mir dies in den kommenden Tagen mal anschauen. Danke für den Tipp.


Gruß

Thomas
Tapas Kumar Sharma said
Hi Thomas
I tried all that you guided, however, some videos recently downloaded appear in the play list but others do not. I am unable to figure out why the remaining videos or the folders do not show up at all. I am using a Panasonic Viera TV for beaming and since the visible videos are playing it should be correctly configured.
Please guide what changes may be made to restore full viewing of all videos and folders
Best regards
Tapas
Thomas Ludwig said
Hi Tapas, can you see the files/folders in the twonky webbrowser? e.g. http://x.x.x.x:9000/webbrowse
Tapas Kumar Sharma said
Hi Thomas
I can see only some files, not all of them. I cannot understand why it does not show all the files in the folder. I have attached the screenshots.
Please guide
Kind regards
Tapas
Thomas Ludwig said
Hi Tapas,

all files have the filename *.mp4?

Another question: Can you please list all files with "ls -la" in the folder where the videos are?

Cheers,

Thomas
Christian Faßbender said
hallo gibt es eine möglichkeit die audiospur zu wechseln bei einem film der mehrere audiospuren hat?
Thomas Ludwig said
Hallo,

version 8.0.2 ist nun online. Leider hat bei mir die 64bit Version nicht richtig funktioniert. Daher habe ich für 64 & 32bit die 32bit version genommen.
jcochois said
Hallo Thomas,
nachdem ich mittels Systemupdate, auf meinem Homeserver (Ubuntu Server 14.04), Twonky auf 8.0.2 aktualisiert habe, bekomme ich es einfach nicht mehr zum laufen. Die Startbefehl /etc/init.d/twonkyserver start - blieb ohne Reaktion. Ich habe dann daraufhin die 32bit-libs (lib32z1 lib32ncurses5 lib32bz2-1.0) nachinstalliert, danach war ein Start möglich. Jedoch verursacht der Twonkyprozess konstante 100% Systemauslastung und ein Zugriff auf die WebUI ist auch nicht möglich.

Viele Grüße und vielen Dank für deine Mühe,

Johannes
Thomas Ludwig said
Hallo Johannes,

genau das Problem hatte ich gestern mit der 64bit Variante und bin deshalb auf die 32bit gegangen. Ich passe nachher noch das Paket an für die 32bit-libs. Die hatte ich vergessen hinzuzufügen. Versuche mal folgendes:
- Twonky deinstallieren (apt-get remove twonky*)
- Die INI umzubenennen /etc/twonky/twonky*.ini
- Das Verzeichnis /usr/share/twonky zu löschen
- Wieder zu installieren

Das hatte dann bei mir geklappt.

Gruß

Thomas
jcochois said
Hm, hat bei mir leider nichts gebracht. Hatte danach weiterhin 100% Auslastung und kein Zugriff auf die WebUI. Habe dann einfach mal ein apt-get purge gemacht und anschließend wieder neuinstalliert. Doch jetzt bekomme ich es wieder gar nicht mehr gestartet.
Thomas Ludwig said
Probiere mal per Hand zu starten: /usr/share/twonky/twonkyserver -inifile /etc/twonky/twonkyserver.ini.new -logfile /var/log/twonky/twonky.log -vlevel 4 -appdata /var/lib/twonky
jcochois said
Vielen vielen Dank! lib32gcc1-dbg hat gefehlt :-)
Thomas Ludwig said
Ich danke dir! Habe das Paket überarbeitet und die 32bit-Abhängigkeiten eingefügt. Nach der Installation funktionierte die Version wieder nicht. Habe das Paket komplett entfernt mit "apt-get purge twonkyserver" und erneut installiert. Nun geht es.
Christian Faßbender said
seitdem das update auf version 8 gekommen ist läuft der server nicht mehr man kann ihn ganz normal starten aber man kommt weder auf die config homepage noch findet man ihm im lan bitte um hilfe
Thomas Ludwig said
Hi, schau mal unter https://ludwig.im/en/projects/twonkyserver-upnp-dlna#comment-1907526011
Tapas Kumar Sharma said
Hi Thomas

Finally it worked!
somehow the external harddisc would let me assign read permissions, so i created a new directory on the hard disc and moved all the videos into it. then it could take all the permissions and now it plays happily.
I face another problem with beaming youtube, I give the command in browser as below.

http://192.168.100.10:9000/nmc/rpc/beam?renderer="192.168.100.8"&url=https://www.youtube.com/watch?v=C8qnpXu_Z1o

The browser body shows :

{"success": false, "code": 712, "message": "Wrong metadata for object"}

I do not understand what is missing or wrong?
Please guide
Kind regards
Tapas
Ulf said
Hallo Leute. Gibt es eine Möglichkeit die auf dem Twonky-Server liegenden mp3s (ich meine hier genauer: die Tags) mit einem Client zu bearbeiten/verändern. Hintergrund: Ich möchte verstehen, ob bzw. wie das "Rating" beim Twonky funktioniert. Es gibt soetwas wie eine "pv:rating"-Variable? Bin ich hier auf dem richtigen Weg?
James Hicks said
Hello, this tutorial is really nice and has gotten me a lot closer to getting it to work... However I am getting this result at the end of my "sudo apt-get install twonkyserver"
2016-02-28 17:40:00 (2.07 MB/s) - ‘/tmp/twonky/twonky_8.0.2-0_amd64.zip’ saved [5105790/5105790]

/var/lib/dpkg/info/twonkyserver.postinst: 77: /var/lib/dpkg/info/twonkyserver.postinst: make-ssl-cert: not found
dpkg: error processing package twonkyserver (--configure):
subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
twonkyserver
E: Sub-process /usr/bin/dpkg returned an error code (1)
James Hicks said
I fixed it, did not have ssl-cert package...
Is a ssl cert required for Twonky?
Thomas Ludwig said
If you want to use SSL, yep! But its not mandatory.
Johnny Rollerfeet said
I've used this to install TwonkyServer several times in the past, but I just lost my boot drive and I'm starting from scratch. I am trying to install on a 64bit Ubuntu 15.10. I get the following error.

user@server:~/twonkytmp$ sudo apt-get install twonkyserver
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
twonkyserver : Depends: lib32bz2-1.0 but it is not installable
E: Unable to correct problems, you have held broken packages.
Thomas Ludwig said
Click "http://lmgtfy.com/?q=lib32bz2-1.0+15.04" and take the first askubuntu link.
Johnny Rollerfeet said
That didn't fix it. The package is still looking for "lib32bz2-1.0" though I expect there's a way to make the twonkyserver install use libz2-1.0.
Johnny Rollerfeet said
This answer at askubuntu is the one I expect is the problem.

http://askubuntu.com/questions/578172/cannot-install-ia32-libs-on-ubuntu-14-04-64bit

"The ia32-libs package has not been available since Ubuntu introduced multiarch. The libraries mentioned in the message, lib32z1 lib32ncurses5 lib32bz2-1.0, will fully replace any functionality needed by ia32-libs. If a package specifically depends on the library, it will have to be repackaged."

I suppose I could teach myself how to deconstruct and reconstruct your package to meet these criteria.
Johnny Rollerfeet said
Using the instructions on <a href="http://ubuntuforums.org/showthread.php?t=636724">this page</a> I altered the dpkg for twonkyserver.diff

I changed this line:
<blockquote>Depends: unzip, wget, net-tools, imagemagick, ffmpeg, lib32z1, lib32ncurses5, lib32bz2-1.0, lib32gcc1-dbg</blockquote>
to this:
<blockquote>Depends: unzip, wget, net-tools, imagemagick, ffmpeg, lib32z1, lib32ncurses5, libbz2-1.0, lib32gcc1-dbg</blockquote>

There were also some funny things with other dependencies:

<blockquote>Selecting previously unselected package twonkyserver.
(Reading database ... 213649 files and directories currently installed.)
Preparing to unpack twonkyserver_8.0.2-0~5~ubuntu15.10.1_amd64.modfied.deb ...
Unpacking twonkyserver (8.0.2-0~5~ubuntu15.10.1) ...
dpkg: dependency problems prevent configuration of twonkyserver:
twonkyserver depends on imagemagick; however:
Package imagemagick is not installed.
twonkyserver depends on ffmpeg; however:
Package ffmpeg is not installed.
twonkyserver depends on lib32gcc1-dbg; however:
Package lib32gcc1-dbg is not installed.</blockquote>

but they were able to clear out with "apt-get -f install".
Thomas Ludwig said
Hi Johnny, thanks for your feedback. Next week I will update the new packages (>15.10).
Tapas Kumar Sharma said
Tried to install Twonkyserver on ubuntu 14.04, following errors happens
tsharma@tsharma-Inspiron-N4050:~$ sudo apt-get install twonkyserver*
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'twonkyserver' for regex 'twonkyserver*'
Note, selecting 'twonkyserver-process-monitor' for regex 'twonkyserver*'
Note, selecting 'twonkyserver7-sortfix' for regex 'twonkyserver*'
Note, selecting 'twonkyserver7-process-monitor' for regex 'twonkyserver*'
Note, selecting 'twonkyserver6-transcoding' for regex 'twonkyserver*'
Note, selecting 'twonkyserver6' for regex 'twonkyserver*'
Note, selecting 'twonkyserver7' for regex 'twonkyserver*'
Note, selecting 'twonkyserver6-process-monitor' for regex 'twonkyserver*'
Note, selecting 'twonkyserver-sortfix' for regex 'twonkyserver*'
Note, selecting 'twonkyserver6-sortfix' for regex 'twonkyserver*'
Note, selecting 'twonkyserver-transcoding' for regex 'twonkyserver*'
Note, selecting 'twonkyserver7-transcoding' for regex 'twonkyserver*'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
twonkyserver : Conflicts: twonkyserver7 but 7.3.0-RC4~4~ubuntu14.04.1 is to be installed
Breaks: twonkyserver7 but 7.3.0-RC4~4~ubuntu14.04.1 is to be installed
twonkyserver-process-monitor : Conflicts: twonkyserver7-process-monitor but 7.3.0-RC4~4~ubuntu14.04.1 is to be installed
Breaks: twonkyserver7-process-monitor but 7.3.0-RC4~4~ubuntu14.04.1 is to be installed
twonkyserver-sortfix : Conflicts: twonkyserver7-sortfix but 7.3.0-RC4~4~ubuntu14.04.1 is to be installed
Breaks: twonkyserver7-sortfix but 7.3.0-RC4~4~ubuntu14.04.1 is to be installed
twonkyserver-transcoding : Conflicts: twonkyserver7-transcoding but 7.3.0-RC4~4~ubuntu14.04.1 is to be installed
Breaks: twonkyserver7-transcoding but 7.3.0-RC4~4~ubuntu14.04.1 is to be installed
twonkyserver7 : Conflicts: twonkyserver but 8.0.2-0~5~ubuntu14.04.1 is to be installed
Breaks: twonkyserver but 8.0.2-0~5~ubuntu14.04.1 is to be installed
twonkyserver7-process-monitor : Conflicts: twonkyserver-process-monitor but 8.0.2-0~5~ubuntu14.04.1 is to be installed
Breaks: twonkyserver-process-monitor but 8.0.2-0~5~ubuntu14.04.1 is to be installed
twonkyserver7-sortfix : Conflicts: twonkyserver-sortfix but 8.0.2-0~5~ubuntu14.04.1 is to be installed
Breaks: twonkyserver-sortfix but 8.0.2-0~5~ubuntu14.04.1 is to be installed
twonkyserver7-transcoding : Conflicts: twonkyserver-transcoding but 8.0.2-0~5~ubuntu14.04.1 is to be installed
Breaks: twonkyserver-transcoding but 8.0.2-0~5~ubuntu14.04.1 is to be installed
E: Unable to correct problems, you have held broken packages.

How to proceed?? Please help
Thomas Ludwig said
Hi,

there are two different twonky versions:
- twonkyserver <- Is twonkyserver 8
- twonkyserver7 <- Is twonkyserver 7

That means, "sudo apt-get install twonkyserver*" makes no sense ;-)
Use instead: "sudo apt-get install twonkyserver-*"

Thomas
Thomas Ludwig said
Hi Johnny,

I'm preparing the new package: I replaced lib32bz2-1.0 with libbz2-1.0.

Furthermore, I will integrate 8.2.1.
Thomas Ludwig said
It's time to make a upgrade: Twonky 8.2.1 is available
Foxhole said
Ubuntu keeps complaining now, after install without the ssl-cert package: "dpkg: error processing package twonkyserver7 (--configure)".
Is there a fix for that
Thorsten Hitzemann said
Hi, I just installed Twonkyserver on Linux Mint 17.3 "Rosa" (which is based on Ubuntu 14.04.1). It's now up and running but strangely it doesn't find any files in the directories configured for sharing. It must be an authorization problem somewhere but where can I find the relevant error messages?
BTW: after sorting out the ffmpeg problems I got the same errors as tsharma when using "sudo apt-get install twonkyserver*" from a console. But since your PPA was already well added to the repositories, one could easily find twonky in synaptics and install from there.
Gary Justice said
Mr. Ludwig,
I'm running a version of Debian Jessie from https://www.turnkeylinux.org it is the Fileserver appliance. It is based on Debian Jessie 8.4. I know that Debian is somewhat based on Ubuntu (correct me here) and have had success running some Ubuntu packages on it. I have a test bed server running the Debian as noted above and decided to give it a try. It gets to a point with the PPA that it cannot write to the '/ect/apt/sources' file. Upon investigating I find I don't that file in that directory. I do however have 4 sub directories and a file called preferences. The subs ar as follows

/etc/apt/apt.conf.d/
/etc/apt/preferences.d/
/etc/apt/sources.list.d/
/etc/apt/trusted.gpg.d/
the preferences file is as follows

Package: *
Pin: release o=turnkeylinux
Pin-Priority: 999

There is a sources file in the
/etc/apt/sources.list.d/
directory an it reads like this

deb http://archive.turnkeylinux.org/debian jessie main

deb http://http.debian.net/debian jessie main
deb http://http.debian.net/debian jessie contrib
deb http://http.debian.net/debian jessie non-free

My question is can I ajust something or things to have our PPA install correctly in this version of Debian? I currently have this Twonkey running on this appliance and swap out SSD drives with the deferent Linux or media servers I dabbel with. The data (media files) resides on a Raid1 array on this system and is backed up in several other ways. Can you help me to get this right? Twonky is a real pain to install on this system as it takes a lot of editing and Chmod stuff as I’m sure you are aware. I’m somewhat of a newbie to Linux only about 4 years of dabbling with it. I love it! It is addicting. I have many years (30+) in the Windows world and like the open world a lot more. Is what I’m trying to do possible or just unstable? Like the site great stuff!
Thanks,
civilmann
Thomas Ludwig said
Hi Civilmann,

Ubuntu is based on Debian where Debian Jessie is more or less compatible to Ubuntu Wily (15.10).

1) At first, you need to give Debian the chance to work with Launchpad's PPA. Have a look to: http://unix.stackexchange.com/questions/215633/debians-corresponding-command-for-add-apt-repository

2) After this, add the following repository by hand in /etc/apt/sources.list:

deb http://ppa.launchpad.net/moonmaker/twonkyserver/ubuntu wily main
deb-src http://ppa.launchpad.net/moonmaker/twonkyserver/ubuntu wily main

3) Update and Install:

sudo apt-get update && sudo apt-get install twonkyserver

Cheers,

Thomas
Thomas Ludwig said
Hi Thorsten,

thanks for your feedback! My Mint experience is more or less 0 :-), because I'm loving Unity. Twonky is running as a special user called "upnp-mediaserver". For example "ps aux":

upnp-mediaserver 30975 0.3 0.0 1023952 14464 ? Sl 08:04 1:20 /usr/share/twonky/twonkyserver -inifile /etc/twonky/twonkyserver.ini -logfile /var/log/twonky/twonky.log -vlevel 4 ......

When upnp-mediaserver is not able to read your files, then they are not available. Please have a look to older Disqus threads.

Cheers,

Thomas
Gary Justice said
Where is the chapter (what site)?
civilmann
Thomas Ludwig said
https://ludwig.im/en/projects/twonkyserver-upnp-dlna#installation-of-ppa-twonky-in-debian

It could be, that the old side is cached in your browser:

If you are using Debian, you need to install the software-properties-common package for Jessie or python-software-properties package for Wheezy in order to use add-apt-repository at first:

Debian Wheezy and earlier
sudo apt-get install python-software-properties

Debian Jessie and later
sudo apt-get install software-properties-common

Now you are able to insert the following lines in /etc/apt/sources.list with sudo nano etc/apt/sources.list:

deb http://ppa.launchpad.net/moonmaker/twonkyserver/ubuntu wily main
deb-src http://ppa.launchpad.net/moonmaker/twonkyserver/ubuntu wily main

That's all for Debian users. Please follow the common instructions for twonkyserver!
Gary Justice said
It's not working right. Please look at the file and directory structure above in my first post. The sources.lst is not in the normal place!
Is there something in the PPA script I could change to work with my directory structure?
Gary Justice said
Mr. Ludwig,
I set up a server with pure Debian but alas this is what I get trying to install Twonky.

W: GPG error: http://www.deb-multimedia.org jessie InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5C808C2B65558117
W: Failed to fetch http://ppa.launchpad.net/kirillshkrogalev/ffmpeg-next/ubuntu/dists/jessie/main/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/moonmaker/twonkyserver/ubuntu/dists/jessie/main/binary-amd64/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.

Can you help?
civilmann
Thomas Ludwig said
Hi, please use google for this kind of error messages. This is driven by debian....

sudo apt-get -f install
sudo apt-get install deb-multimedia-keyring
sudo apt-get update

Best regards,

Thomas
Gary Justice said
Mr. Ludwig,
I'm not that good at finding out what these errors mean. If I run any of the 3 lines above they all return errors. The first (apt-get -f install) command gets me this:

Could not create certificate. Openssl output was:
Error Loading extension section v3_req
140637896246928:error:2207507C:X509 V3 routines:v2i_GENERAL_NAME_ex:missing value:v3_alt.c:537:
140637896246928:error:22098080:X509 V3 routines:X509V3_EXT_nconf:error in extension:v3_conf.c:93:name=subjectAltName, value=192.168.2.140
dpkg: error processing package twonkyserver (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
twonkyserver
E: Sub-process /usr/bin/dpkg returned an error code (1)

The second line (apt-get install deb-multimedia-keyring) gets me this:

Could not create certificate. Openssl output was:
Error Loading extension section v3_req
140246759507600:error:2207507C:X509 V3 routines:v2i_GENERAL_NAME_ex:missing value:v3_alt.c:537:
140246759507600:error:22098080:X509 V3 routines:X509V3_EXT_nconf:error in extension:v3_conf.c:93:name=subjectAltName, value=192.168.2.140
dpkg: error processing package twonkyserver (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up deb-multimedia-keyring (2016.3.7) ...
Errors were encountered while processing:
twonkyserver
E: Sub-process /usr/bin/dpkg returned an error code (1)

And the third (apt-get update) get me this:
Err http://ppa.launchpad.net jessie/main amd64 Packages
404 Not Found
Ign http://ppa.launchpad.net jessie/main Translation-en_US
Ign http://ppa.launchpad.net jessie/main Translation-en
Err http://ppa.launchpad.net jessie/main amd64 Packages
404 Not Found
Ign http://ppa.launchpad.net jessie/main Translation-en_US
Ign http://ppa.launchpad.net jessie/main Translation-en
Fetched 881 kB in 7s (121 kB/s)
W: Failed to fetch http://ppa.launchpad.net/kirillshkrogalev/ffmpeg-next/ubuntu/dists/jessie/main/binary-amd64/Packages 404 Not Found

W: Failed to fetch http://ppa.launchpad.net/moonmaker/twonkyserver/ubuntu/dists/jessie/main/binary-amd64/Packages 404 Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.

I'm not a programmer I do dabble with Auto-lisp, Visual Basic and batch files. I have even been somewhat successful at modifying a few Linux scripts. I am not someone that knows how to fix what is going on with this installer package. I ask for your understanding and patience in this endeavor. I'm doing the best I can. I'm sure the answer is right there in front of me but I can't seem to find it. I don't know what I'm doing with the SSL certificate part of this I'm just entering debian and the local ip address of 192.168.2.140. I bring that to your attention because that is part of the setup. Lastly, it looks like 2 packages can not be retrieved from the internet with the classic W:Failed to fetch.... 404 NOT Found errors. I really need your help. I am a valid licence hold of the Twonky Server product but have never been able to take full advantage of all of the great things you mention in your tutorial. I would love to be able to install it like this and not have to go through the manual Chmod and file copying I've had to do before. Anthing you could do to put me in the right direction would be greatly appreciated.
Thanks,
Gary
civilmann
P.S Looking further at my sources.list and sources.list.d files these all point to files with a jessie sub directory but the files are actually in folders ubuntu names like trusty, utopic, wil, or even devel. Is this the key? Telling debian to look at one of those directory's instead?
Karel Verhulst said
Hallo Mr Ludwig,
I'm running Ubuntu server 16.04 LTS and installed Twonkyserver according your instructions. After installation, I can acces the configuration web page. The problem I have is that, using browse on the sharing page, I cannot select my folders to share.
When I copy real media files in the folder /media/twonky, then these files are discovered by Twonky, but when I mount a partition or make a symbolic link, then these folders cannot be selected in the browse-menu. All my media folders and files are world accessible and can be listed with the 'ls' command.

When I enter the location manually in the menu, still no media are found. When I stop and start twonkyserver on the command line, I see some errors in the logging. The first four lines have these comments:
upnp_accounting_license_twonky_load_locked : 0: 12001: /var/lib/twonky/twonky.license
upnp_file_find_next_file : File stat for "/media/media" failed. (Permission denied,errno=13)
upnp_file_find_next_file : File stat for "/media/media" failed. (Permission denied,errno=13)
upnp_file_find_next_file : File stat for "/run/udev/watch/23" failed. (No such file or directory,errno=2)
Then there are 22 lines for all /run/udev/watch/nn, followed by two lines for /media/media as before.
The file /var/lib/twonky/twonky.license does not exist.
The location /media/media is a valid symbolic link.
The locations /run/udev/watch/nn are all invalid symbolic links (e.g. lrwxrwxrwx 1 root root 4 sep 15 10:11 23 -> b8:0)

As an additional remark:
When I activate 'restart server' on the advanced page, the page keeps busy and the process stops. Reloading the page is not possible, the page does not exist any more. In order to start Twonkyserver on the command line, I first have to stop twonkyserver on the command line. A restart on the commandline is not working.

Can you help to understand what has gone wrong and how to cure.


Best regards,


Karel
Chris said
Hi Mr. Ludwig,

first, let me thank you for the excellent installation that you maintain and I am using for over two years now.
Is there any chance of seeing an update to version 8.3 anytime soon?

Best regards & thanks for your efforts,
Chris
Comments powered by LudwigDisqus for ModX