I recently purchased a Telegent TG100 media renderer.
It's supposed to be UPnP supporting.
Mediatomb is so far my favored media server on Linux because of its media file handling.
However, sometimes when I browse the content list, the list just disappears and I need to reload the list over and over again until it shows up again
some time later.
I'd really like to help to fix this bug (if it is a bug with mediatomb and not with the TG100 of course :) ).
Can you tell me what kind of information you need? I could try to provide some etherreal dumps of the devices' network traffic or such.
Anyway, keep up the good work :)
Nice to hear that you like our server :)
An ethereal log would definetely be of help. Please make a full log - from booting the unit and to the point where the error occurs, you can mail it to firstname.lastname@example.org
Hm... when preparing for the ethereal dump I noticed something.
Is mediatomb able to react to content browsing commands from the media render while it is still streaming an mp3?
Because here's what happened:
After I selected an MP3, it started to play.
When I tried to select a different file then without stopping the running one, the content list did not show up.
I had to leave the room for a while. When I got back the file was done and the content list showed up again after a refresh.
So I tried this a few times with the same result.
Is this really a bug or just a limitation of mediatomb?
Axel / Anterion
We discovered something that could explain what you are reporting. The problem is in the UPnP SDK and it's handling of threads and sockets. BTW, have you applied the config.patch to your libupnp or are you using the original version?
The settings in the config patch make it more unlikely to experience this problem, but the solution is of course to fix the bug in the SDK. For 0.9.0 libupnp is included in our source tree and has undergone some modifications and improvements. Let's see if I can get this done for 0.9.0, but in any case this is definetely something I want to have fixed.
In the meantime you could try the config.patch and see if it improves your situation. (You will find the config.patch on our SourceForge project page, under the libupnp-1.2.1a downloads.
By the way, are you able to play AVI files via the TG100? I had reports from several users that this was not possible.
I used the libupnp-1.2.1 lib and dev files that come with the ubuntu distribution.
I'll give the patch a try and tell you later about the result.
Think an ethereal dump is of use still?
And, no, AVI has not yet worked. But I haven't tested it thoroughly, though. Until now my focus is on MP3s.
Please try the config.patch first, I think my guess about what is going wrong may be correct.
I grabbed the libupnp-1.2.1 source package, patched it, built a deb package and installed it.
It seems to be a "half" success.
Once the MP3 plays the content browsing sort of stops working until I go the the browse level were I can select "Albums". Once I enter the "Album" level the content is displayed correctly again and the MP3 is still playing. I can also select a new MP3 now and the TG100 will correctly stop the old one and start the newly selected one.
I also found that some MP3s make the TG100 choke. Not sure why. Will try to see what's different with them.
Hmm interesting... let's look at it in ethereal.. could you please log it? :)
just an update on this: there was a problem in the threadpool implementation of the UPnP library, it caused exactly the behaviour that you are describing. This is fixed for the upcoming 0.9.0 release, TG100 .avi support has also beed added.