Page 4 of 4 FirstFirst ... 234
Results 46 to 54 of 54

Thread: [HowTo] Setup MediaTomb (mediaserver) on WL-500gP and WL-500W

  1. #46

    Question Mediatomb static only displays audio files

    Hello guys,

    I still stick with my good old WL500W, and am still very much satisfied with it.
    But after my Twonky media server license expired, I had to find an alternative to stream my videos to my beamer.

    So I gave mediatomb a try, and ended up installing the static optware version from http://mediatomb.cc/pages/download#optware.

    After the fiddling with sqlite and such it seemed to work. But wait, it does only display my audio files in the tree I gave the ui to search for media.
    There it also only displays an Audio subfolder in "Database", no Video listing at all.
    Files I wished it would find are regular avi and such. Nothing special.

    What the heck - tried googling, but nobody ever seems to have had this problem. Cannot find anything unusual also in the default config.xml that would make it exclude something.

    Any ideas someone?

    Cheers,
    Nix

  2. #47
    When I used the wl-500gP with mediatomb in the back-days, I wasn't satisfied at all. The indexing of video worked, but i took ages. You may run mediatomb with -D and -l {logfile} options while doing a rescan so we're may be able to understand whats wrong there.

    I suggest using minidlna there is no hazzle when importing video. You loose transcoding-ability but in my eyes this is useless on a soho-router anyway.
    RT-N66U TomatoUSB 1.28.0000 MIPSR2-135 K26AC USB AIO-64K running Entware-NG
    pyload 0.4.9
    minidlna 1.1.2
    samba 3.6.5
    openvpn 2.3.10
    ̶W̶L̶5̶0̶0̶g̶P̶ ̶1̶.̶9̶.̶2̶.̶7̶-̶r̶t̶n̶-̶r̶4̶7̶5̶0 retired

  3. #48
    Thank you very much for your suggestions, !gm

    I did include the -l option in the startup script and afterwards rescanned the db.
    Here is the output

    mediatomb.log.tar.gz

    Sorry for the compression - it did'nt let me upload the plain text log.

    On my first look it seems to be a problem with the character encoding.
    But have a look if you don't mind.

    Cheers,
    Nix

    Quote Originally Posted by !gm View Post
    When I used the wl-500gP with mediatomb in the back-days, I wasn't satisfied at all. The indexing of video worked, but i took ages. You may run mediatomb with -D and -l {logfile} options while doing a rescan so we're may be able to understand whats wrong there.

    I suggest using minidlna there is no hazzle when importing video. You loose transcoding-ability but in my eyes this is useless on a soho-router anyway.

  4. #49

    excerpts from config.xml

    Hello,

    here are some lines from the config.xml, showing that utf-8 should be loaded.

    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    ...
    <scripting script-charset="UTF-8">
    But in the log it says the following:

    Code:
    2012-12-20 18:23:47    INFO: Checking configuration...
    2012-12-20 18:23:47    INFO: Setting filesystem import charset to ASCII
    2012-12-20 18:23:47    INFO: Setting metadata import charset to ASCII
    2012-12-20 18:23:47    INFO: Setting playlist charset to ASCII
    2012-12-20 18:23:47    INFO: Configuration check succeeded.
    Seems it is the crooked charset problem once again... Dohhh
    The Environment Variable LANG is not set in the basic shell of the box. Would have no idea how to set it permanently, if it helps at all...

    Tried to set the encoding with "export LANG=en_UK.UTF-8" at the top of the startup script - no success.
    Still importing in stupid ASCII.

    Cheers
    Last edited by Nixblicker; 20-12-2012 at 19:05.

  5. #50
    Quote Originally Posted by Nixblicker View Post
    Sorry for the compression - it did'nt let me upload the plain text log.
    no problem

    what about

    Code:
    <filesystem-charset>ISO-8859-1</filesystem-charset>
    <metadata-charset>ISO-8859-1</metadata-charset>

    ... if you haven't googled this by yourself
    RT-N66U TomatoUSB 1.28.0000 MIPSR2-135 K26AC USB AIO-64K running Entware-NG
    pyload 0.4.9
    minidlna 1.1.2
    samba 3.6.5
    openvpn 2.3.10
    ̶W̶L̶5̶0̶0̶g̶P̶ ̶1̶.̶9̶.̶2̶.̶7̶-̶r̶t̶n̶-̶r̶4̶7̶5̶0 retired

  6. #51
    Ähem,

    no I haven't .

    I'll try that - but as the system is capable of utf I thought i should stick to it in MT.
    Do you think its not properly built in the static version?

    Well, whatever - will report back when I tried it.

    UPDATE:

    Inserted the above option in config.xml, but still no luck. The log still tells me files are imported in ASCII.

    Is it possibly hardcoded?


    Thx again for the tip,
    Nix
    Last edited by Nixblicker; 20-12-2012 at 20:12. Reason: Added results

  7. #52
    The documentation of the above config options states

    Optional

    Default: if nl_langinfo() function is present, this setting will be auto detected based on your system locale, else set to ISO-8859-1

    Defines the charset of the filesystem. For example, if you have file names in Cyrillic KOI8-R encoding, then you should specify that here. The server uses UTF-8 internally, this import parameter will help you to correctly import your data.
    So if i read it correct, this setting is something like a fallback value, if no charset is detected by the ominous nl_langinfo() function.

    Do you by any chance know what this function is and if it is present?

    Cheers,
    Nix

  8. #53

    Thumbs up

    ahhhhh me is stupid....

    set it to UTF-8

    Code:
    <filesystem-charset>UTF-8</filesystem-charset>
    <metadata-charset>UTF-8</metadata-charset>
    as that function seems not to work...
    RT-N66U TomatoUSB 1.28.0000 MIPSR2-135 K26AC USB AIO-64K running Entware-NG
    pyload 0.4.9
    minidlna 1.1.2
    samba 3.6.5
    openvpn 2.3.10
    ̶W̶L̶5̶0̶0̶g̶P̶ ̶1̶.̶9̶.̶2̶.̶7̶-̶r̶t̶n̶-̶r̶4̶7̶5̶0 retired

  9. #54
    Well, that change of the option also doesn't.

    Still importing in ASCII so it seems. At least the log claims to do so.

    But actually this doesn't seem to be the base of the problem. Even if a just select a subfolder guaranteed not to have charset encoding problems, there is no video file added to the database. No Video subfolder created in the ui etc.

    Darn, I'm out of ideas here.
    Probably I should give minidlna a try.

    Thx anyway !gm!
    Last edited by Nixblicker; 20-12-2012 at 22:31.

Page 4 of 4 FirstFirst ... 234

Similar Threads

  1. Replies: 113
    Last Post: 25-07-2012, 12:31
  2. [HowTo] Get a HeadStart on a WL-500gP
    By raas in forum WL-500gP Tutorials
    Replies: 187
    Last Post: 11-01-2012, 09:19
  3. WL-500gP + Mediaserver + XBOX360
    By LeChuck in forum German Discussion - Deutsch (DE)
    Replies: 50
    Last Post: 01-02-2010, 16:20
  4. HowTo: Use Palm as 500gP LCD
    By Tamadite in forum WL-500gP Tutorials
    Replies: 1
    Last Post: 08-02-2009, 22:18
  5. Howto setup WinSCP to connect to my wl500g?
    By ikerstges in forum WL-500g Q&A
    Replies: 1
    Last Post: 21-02-2006, 13:20

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •