No announcement yet.

XML metadata changes in DNAS 2.2 and 2.2.1 ?

  • Filter
  • Time
  • Show
Clear All
new posts

  • XML metadata changes in DNAS 2.2 and 2.2.1 ?


    I've got question especially to DrO.
    I've noticed change in DNAS (LINUX) behaviour when sending XML metadata to server.

    I was sending XML formated metada using this:
    "GET /admin.cgi?sid=$id&mode=updinfo&type=xml&song=$xml&pass=$pass HTTP/1.0\r\nUser-Agent:Mozilla/4.0\r\n\r\n"
    With previous versions of sc_serv XML was properly parsed and all properties were properly set.

    From DNAS version 2.2 whole xml code is displayed as track title.

    Is the way of sending xml metadata to DNAS has been changed ?

  • #2
    it shouldn't have changed other than not needing the type=xml param as it checks what's received to determine how to handle it. so I'd need to see an example of the actual request being sent and seen as being received by the DNAS.
    WACUP Project <‖> "Winamp Ramblings" - Indie Winamp Dev Blog


    • #3
      I have worked out what was wrong. I have removed type=xml param and formated properly xml so it's recognised by sc_serv 2.2.1

      But I found something different:

      When I'm broadcasting from DSP (2.3.3 [build 201]) through djport2 I have set 'Name' field in 'Directory' tab so station name is changing on this one. After disconnecting station name remains the same instead of displaying streamtitle set in sc_trans


      • #4
        sc_trans is buggy beta software and doesn't support those parts correctly so that would explain the title weirdness. other than forcing manual updates, i don't have any solution.
        WACUP Project <‖> "Winamp Ramblings" - Indie Winamp Dev Blog


        • #5
          DrO ist right, in this case you must set the streamtitle manually again.

          This issue comes only if you are sending the streamtitles manually and not through the id3 tags of your files. If you have set the id3 tags for artist and trackname in your mp3-files, then the sc_trans is loading the right id3 tags after the disconnecting of your streaming-client.


          • #6
            But this was working properly in previous version of sc_serv (it was 2.0 I think) or it was unwanted behaviour there ?
            I left sc_trans untouched