Fuppes and DSM-330 Media Player

Help
remon D
2010-01-28
2013-04-25
  • remon D
    remon D
    2010-01-28

    Who can help me to config fupes with the DSM-330 Media Player??
    I know that this media player must work with fuppes but i don's know how to config!
    I hope someone can help me!!

    Thanks
    Remon

     
  • Okay, I've been looking at the specifications for your device Online and I don't know for sure whether fuppes can stream data to it so let's just run a test; let's see it fuppes can see the device first.

    So what I want you to do is download the latest fuppes from the svn repository and install it on your machine. Then (making sure your DSM-330 is setup first) run fuppes and open the web interface. On the start page there should be a list of the devices that fuppes has found. Is the DSM-330 on that list? That is the first thing we need to know. :)

     
  • remon D
    remon D
    2010-01-29

    Thanks for your answer, I have installed the latest fuppes. Yes the DSM-330 is at the list on the start page! so far so good i hope!

     
  • Yes that is an excellent sign! We are just going to keep right on going until we either find a bug or it works. First make sure that you have configured your fuppes.cfg file correctly. This is very important. The most important part is that you have the <dir></dir> XML tags actually pointing to something, some Directory like (on linux) /home/your_username/Videos/

    Once that is done then restart fuppes so that it can reload your config file.

    Now goto your DSM-330. I have no experience using the DSM-330 but try and use it's standard navigation to find fuppes on your network.

    Tell me if you manage. :)

     
  • remon D
    remon D
    2010-01-29

    Thanks again for the info. I know about the wiki on the fuppes site.

    This is a part of my fuppes.cfg:
    <?xml version="1.0" encoding="UTF-8"?>
    <fuppes_config version="0.7.2.3">
      <shared_objects>
        <!-<dir>/mnt/music</dir>->
        <!-<itunes>/Users/…/iTunes.xml</itunes>->
        <dir>/home/media/videos</dir>
       <dir>/home/media/music</dir>
    </shared_objects>
      <network>
        <!-empty = automatic detection->
        <interface>eth0</interface>
        <!-empty or 0 = random port->
        <http_port>8080</http_port>
    The media player doesn't find fuppes.
    What i think that i need a special configuration for this device, like a xbox descripe on the fuppes site.
    Maybe importend to tell is, i have also an musc player the SLA5500, this device works wit fuppes with no special configuration, so fuppes works for this device.

    I hope this information wil help.

    Ps. The DSM-330 has no other configuration to setup some settings to find a server.

     
  • The fact that your Fuppes setup works with one device and not another is indeed a good indication that the DSM-330 needs some special treatment. The devices Fuppes sees your device obviously but it does not seem to see Fuppes; or maybe it does I'm not sure. This is the hard part because I do not know what your device requires to see Fuppes. Please tell me two things:

    1) What types of files are you trying to send to the DSM-330?
    2) Could you please run Fuppes with log file generation on while you try and get the DSM-330 to find fuppes then send me the log file in an email or via a pastie.

    Thanks and I'll try and help. It'd be easier if I just had access to these devices that I was trying to debug but that's life.

     
  • remon D
    remon D
    2010-01-31

    The DSM-330 could not find a server, after i search for servers.
    To answer your questions:
    1. i have mp3 files in my music folder and i have wmv files in my videos folder. (what i told the SLA5500 works fine to play the mp3 files)
    2. i can't find my log file, perhaps i need to config it.
    did you meen you you want to have acces to my fuppes by telnet or ssh?? i think we can do that?
    Thanks so far.

     
  • remon D
    remon D
    2010-01-31

    I have been thinking and reading on the fuppes wikki site, I think i need a special setting for my device.
    starting in fuppes.cfg i have made a trial! can i use this in my fuppes.cfg:

    <device name="DSM-330" virtual="DSM-330" enabled="false">
    <max_file_name_length>0</max_file_name_length>
    <playlist_style>file</playlist_style>
    <show_childcount_in_title>false</show_childcount_in_title>
    <enable_dlna>false</enable_dlna>
    <transcoding_release_delay>4</transcoding_release_delay>
    <DSM-330>false</DSM-330>
    <show_empty_resolution>false</show_empty_resolution>
    <user_agent>UPnP/1.0 DLNADOC/1.00</user_agent>
    <user_agent>Livingroom</user_agent><!—-what name here??->
    <ip>192.168.1.131</ip>
    <description_values>
      <friendly_name>%s %v (%h)</friendly_name>
      <manufacturer>Ulrich Voelkel</manufacturer>
      <manufacturer_url>http://fuppes.ulrich-voelkel.de</manufacturer_url>
      <model_name>Free UPnP Entertainment Service</model_name>
      <model_number>%v</model_number>
      <model_url>http://fuppes.ulrich-voelkel.de</model_url>
      <model_description enabled="true">A free UPnP A/V MediaServer</model_description>
      <upc enabled="true"/>
      <serial_number enabled="true">1234567890</serial_number>
    </description_values>
    <file ext="avi">
      <type>VIDEO_ITEM</type>
      <mime_type>video/x-msvideo</mime_type>
      <transcode enabled="true">        
        <transcoder>ffmpeg</transcoder>
        <ext>mpg</ext>
        <mime_type>video/mpeg</mime_type>        
        <video_codec vcodec="wmv2, msmpeg4">mpeg1video</video_codec>
        <audio_codec acodec="wmav2">mp2</audio_codec>
        <video_bitrate>1800000</video_bitrate>
        <audio_samplerate>44100</audio_samplerate>
      </transcode>
    </file>

    i copied from the wikki and changed it for my device, can i use it like this or not?
    How can see fuppes the device, do i need to enter the devicename, witch i can find in de devicelist (on fuppes start webpage), my device have the name Livingroom (in de device list, starpage fuppes),  do i need to enter Livingroom between the <user_agent></user_agent>see above??
    I don't know if my example is good, perhaps you can check?
    In my example i have a file extension avi, now i can only read avi file i think?
    if this is the right way to config device specific settings i wil test this.
    to be continued…

     
  • I am not sure. Since your product is not made by Microsoft I would not expect it to require some crazy user agent but it is possible that it does. What I really need to see is if they communicate with eachother at all. Can you try and run fuppes with the options '-log-level 3 -log-file somename.log' and then send the contents of that file my way, or put it in a pastie? Thanks. I suspect that this will be difficult to solve this part but we'll see. And I am sorry for the slow response. :)

     
  • remon D
    remon D
    2010-02-02

    OK, i will try it tomorrow. Better a late response than no response. I'am also bussy with other things.
    I hope we get it work.
    When i have the logging i wil past it here.

     
  • remon D
    remon D
    2010-02-03

    I started fuppes with -log-level 3-
    then i get this: (i hope this is what you want to see)

    home-media:~# fuppes -log-level 3 -
    WARNING: Do not run fuppes as the root user.
    future versions of fuppes will not allow this
                FUPPES - 0.661
        the Free UPnP Entertainment Service
          http://fuppes.ulrich-voelkel.de

    == lib/Fuppes.cpp (51) :: Wed Feb  3 16:37:49 2010 ==
    starting UPnP subsystem

    == lib/Fuppes.cpp (60) :: Wed Feb  3 16:37:49 2010 ==
    init database

    == lib/Fuppes.cpp (70) :: Wed Feb  3 16:37:49 2010 ==
    init http-server

    == lib/HTTP/HTTPServer.cpp (322) :: Wed Feb  3 16:37:49 2010 ==
    listening on 192.168.1.200:8080

    == lib/HTTP/HTTPServer.cpp (182) :: Wed Feb  3 16:37:49 2010 ==
    HTTPServer started

    == lib/Fuppes.cpp (81) :: Wed Feb  3 16:37:49 2010 ==
    init ssdp-controller

    == lib/SSDP/UDPSocket.cpp (284) :: Wed Feb  3 16:37:49 2010 ==
    listening on 0.0.0.0:1900

    == lib/SSDP/SSDPCtrl.cpp (67) :: Wed Feb  3 16:37:49 2010 ==
    SSDPController started

    == lib/Fuppes.cpp (139) :: Wed Feb  3 16:37:49 2010 ==
    UPnP subsystem started

    == lib/ContentDirectory/VirtualContainerMgr.cpp (59) :: Wed Feb  3 16:37:49 2010                                                                                                                      ==
    no vfolder.cfg file available

    == lib/Fuppes.cpp (146) :: Wed Feb  3 16:37:49 2010 ==
    multicasting alive messages

    == lib/Fuppes.cpp (148) :: Wed Feb  3 16:37:49 2010 ==
    multicasting m-search

    == lib/SSDP/UDPSocket.cpp (284) :: Wed Feb  3 16:37:49 2010 ==
    listening on 192.168.1.200:33553

    == lib/Fuppes.cpp (340) :: Wed Feb  3 16:37:50 2010 ==
    received "Notify-Alive" from unknown device id: UPnP_SpeedTouch780-1_00-14-7F-F3                                                                                                                     -D8-CA

    == lib/Fuppes.cpp (340) :: Wed Feb  3 16:37:50 2010 ==
    received "Notify-Alive" from unknown device id: UPnP_SpeedTouch780-1_00-14-7F-F3                                                                                                                     -D8-CA_WD

    == lib/Fuppes.cpp (340) :: Wed Feb  3 16:37:50 2010 ==
    received "Notify-Alive" from unknown device id: 75802409-bccb-40e7-8e6c-001F3FF0                                                                                                                     1D0C

    == lib/Fuppes.cpp (340) :: Wed Feb  3 16:37:50 2010 ==
    received "Notify-Alive" from unknown device id: UPnP_SpeedTouch780-1_00-14-7F-F3                                                                                                                     -D8-CA_WCDRELAY

    == lib/Fuppes.cpp (340) :: Wed Feb  3 16:37:50 2010 ==
    received "Notify-Alive" from unknown device id: 75802409-bccb-40e7-8e6b-001F3FF0                                                                                                                     1D0C

    == lib/Fuppes.cpp (340) :: Wed Feb  3 16:37:50 2010 ==
    received "Notify-Alive" from unknown device id: 75802409-bccb-40e7-8e6a-001F3FF0                                                                                                                     1D0C

    == lib/DeviceSettings/DeviceIdentificationMgr.cpp (125) :: Wed Feb  3 16:37:50 2                                                                                                                     010 ==
    device settings "default"
            ip: 0.0.0.0
            user agent:

    == lib/DeviceSettings/DeviceIdentificationMgr.cpp (125) :: Wed Feb  3 16:37:50 2                                                                                                                     010 ==
    device settings "default"
            ip: 0.0.0.0
            user agent:

    == lib/DeviceSettings/DeviceIdentificationMgr.cpp (125) :: Wed Feb  3 16:37:50 2                                                                                                                     010 ==
    device settings "default"
            ip: 0.0.0.0
            user agent:

    == lib/UPnPDevice.cpp (92) :: Wed Feb  3 16:37:50 2010 ==
    new device FRITZ!Box Fon WLAN 7170 Annex A UPnP/1.0 AVM FRITZ!Box Fon WLAN 7170                                                                                                                      Annex A 58.04.76

    == lib/Fuppes.cpp (340) :: Wed Feb  3 16:37:50 2010 ==
    received "Notify-Alive" from unknown device id: 069518f5-67d4-4c0b-96c8-cee3e6e6                                                                                                                     154e

    == lib/DeviceSettings/DeviceIdentificationMgr.cpp (125) :: Wed Feb  3 16:37:50 2                                                                                                                     010 ==
    device settings "default"
            ip: 0.0.0.0
            user agent:

    == lib/DeviceSettings/DeviceIdentificationMgr.cpp (125) :: Wed Feb  3 16:37:50 2                                                                                                                     010 ==
    device settings "default"
            ip: 0.0.0.0
            user agent:

    == lib/UPnPDevice.cpp (92) :: Wed Feb  3 16:37:50 2010 ==
    new device FRITZ!Box Fon WLAN 7170 Annex A UPnP/1.0 AVM FRITZ!Box Fon WLAN 7170                                                                                                                      Annex A 58.04.76

    == lib/UPnPDevice.cpp (92) :: Wed Feb  3 16:37:50 2010 ==
    new device FRITZ!Box Fon WLAN 7170 Annex A UPnP/1.0 AVM FRITZ!Box Fon WLAN 7170                                                                                                                      Annex A 58.04.76

    == lib/DeviceSettings/DeviceIdentificationMgr.cpp (125) :: Wed Feb  3 16:37:50 2                                                                                                                     010 ==
    device settings "default"
            ip: 0.0.0.0
            user agent:

    webinterface: http://192.168.1.200:8080

    r = rebuild database
    u = update database
    i = print system info
    h = print help

    press "ctrl-c" or "q" to quit

    == lib/DeviceSettings/DeviceIdentificationMgr.cpp (125) :: Wed Feb  3 16:37:50 2                                                                                                                     010 ==
    device settings "default"
            ip: 0.0.0.0
            user agent:

    == lib/Fuppes.cpp (340) :: Wed Feb  3 16:37:51 2010 ==
    received "Notify-Alive" from unknown device id: da18bcdd-cf77-4146-8e7a-95106d3b                                                                                                                     01dd

    == lib/DeviceSettings/DeviceIdentificationMgr.cpp (125) :: Wed Feb  3 16:37:51 2                                                                                                                     010 ==
    device settings "default"
            ip: 0.0.0.0
            user agent:

    == lib/DeviceSettings/DeviceIdentificationMgr.cpp (125) :: Wed Feb  3 16:37:51 2                                                                                                                     010 ==
    device settings "default"
            ip: 192.168.1.130
            user agent: Mozilla/4.0 (compatible)

    == lib/DeviceSettings/DeviceIdentificationMgr.cpp (125) :: Wed Feb  3 16:37:52 2010 ==
    device settings "default"
            ip: 192.168.1.61
            user agent:

    == lib/Fuppes.cpp (340) :: Wed Feb  3 16:40:31 2010 ==
    received "Notify-Alive" from unknown device id: da18bcdd-cf77-4146-8e7a-95106d3b01dd

    == lib/DeviceSettings/DeviceIdentificationMgr.cpp (125) :: Wed Feb  3 16:40:31 2010 ==
    device settings "default"
            ip: 0.0.0.0
            user agent:

    _Then i started my device again (i turned it off and on) then i get thi_s:

    == lib/Fuppes.cpp (366) :: Wed Feb  3 16:43:09 2010 ==
    received "Notify-ByeBye" from device: 44697658-C319-0401-B0C3-001CF098A093

    == lib/Fuppes.cpp (340) :: Wed Feb  3 16:43:09 2010 ==
    received "Notify-Alive" from unknown device id: 44697658-C319-0401-B0C3-001CF098A093

    == lib/DeviceSettings/DeviceIdentificationMgr.cpp (125) :: Wed Feb  3 16:43:09 2010 ==
    device settings "default"
            ip: 0.0.0.0
            user agent:

    == lib/UPnPDevice.cpp (92) :: Wed Feb  3 16:43:09 2010 ==
    new device Living Room

    == lib/Fuppes.cpp (340) :: Wed Feb  3 16:43:54 2010 ==
    received "Notify-Alive" from unknown device id: 069518f5-67d4-4c0b-96c8-cee3e6e6154e

    == lib/DeviceSettings/DeviceIdentificationMgr.cpp (125) :: Wed Feb  3 16:43:54 2010 ==
    device settings "default"
            ip: 0.0.0.0
            user agent:

    Fuppes found a new device: livingroom, that is myDSM-330.

    I hope you this information will help.

     
  • remon D
    remon D
    2010-02-11

    Are there any suggestions? I can't get it work but i think it could be work with fuppes.
    I hope someone knows the solutions.??!

     
  • Sorry, I've been busy. And unfortunately I have no solutions. If I had one I might be able to use wireshark to watch the messages go back and forth and try and debug the problem but unfortunately I do not and I am not sure what is going wrong. I don't really know what to do about it…sorry.

     
  • remon D
    remon D
    2010-02-14

    OK thanks for your help so far. Wireshark is a good idea to see something, i will do that.
    if i know more , i lett it know here.

     
  • Okay, thankyou and if you have any wireshark results that you think could point to the problem feel free to point them out. You may want to look at the UPnP specification as you go just so you know wether or not the correct messages are being sent. Good luck, and I apologise because I know that this is not the most user friendly option. I think I need to come up with a new fuppes testing framework for new devices and what happens in them. I think I'll add that to the ever increasing todo list.