[Approved] Unicode file names for recordings (1 Viewer)

mm1352000

Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,544
    8,236
    Home Country
    New Zealand New Zealand
    For testers that would find it useful to have binaries, here you go :)
     

    Attachments

    • Binary (SVN 27307).zip
      330.1 KB

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,544
    8,236
    Home Country
    New Zealand New Zealand
    Hi Vasilich. Sorry you are absolutely correct :oops:
    Too early in the morning where I am.
    I will withdraw the second version and recompile for god_md5.
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,544
    8,236
    Home Country
    New Zealand New Zealand
    I reiterate my apology to Vasilich :sorry:
    Thank you for your work. It is only my binary-building that was at fault :oops:

    Since I have already made a binaries for 1.1.1 I figured I would make binaries for 1.1.2 as well. Here they are...
     

    Attachments

    • Binaries (1.1.1).zip
      324.1 KB
    • Binaries (1.1.2).zip
      324.3 KB

    chemelli

    Retired Team Member
  • Premium Supporter
  • September 28, 2006
    6,159
    2,264
    51
    Milano, Italy
    Home Country
    Italy Italy
    Guys, how is the status ? I asked Vasilich to remove all attachments and post the latest version on first post to avoid confusion.

    Simone
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,544
    8,236
    Home Country
    New Zealand New Zealand
    Hi Simone

    In my opinion the patch code is okay although it is a little hard to clearly see the functional changes since there seem to be a lot of whitespace changes. This is picky, but I'm not really a fan of the 'W' on the end of all the function names - I don't think there is any need for changes in the internal workings of functions to affect their names unless the functionality has radically changed. That aside, the patch seems to be effective. I will patch my system tonight and confirm that nothing is broken for me. Assuming that everything is okay I'd happily recommend this for inclusion in 1.2.0b. :)
     

    arion_p

    Retired Team Member
  • Premium Supporter
  • February 7, 2007
    3,367
    1,642
    Athens
    Home Country
    Greece Greece
    I was about to commit this patch in SVN last night, when I realized that it only solves part of the problem. Making TsWriter/MPFileWriter Unicode aware, allows recordings to have Unicode characters in their file names. But these recordings will never play within MP, since neither TsReader nor StreamingServer support Unicode file names. Patching TsReader and StreamingServer to support Unicode is not trivial, so I am not sure if Vasilich can have them ready in time for 1.2.0beta.

    I should have realized this earlier, :sorry:
     

    Vasilich

    Portal Pro
    August 30, 2009
    3,392
    1,173
    Germany, Mayence
    Home Country
    Russian Federation Russian Federation
    thanks to pointing me on , arion.
    I checked it briefly and it seems that only streaming server is the problem. As i use singleseat - my tests were successful because TSReader is able to read unicode filenames.
    I will try to fix streaming server handling ASAP (i.e. tonight/tomorrow) (it seems that there is only one file to correct - StreamFileSource. FileReader already handles unicode).
     

    Vasilich

    Portal Pro
    August 30, 2009
    3,392
    1,173
    Germany, Mayence
    Home Country
    Russian Federation Russian Federation
    Me again. Finally got possibility to test TV on my dev machine.
    So in attach is the patch for all parts of tv - tswriter, reader, streaming server... for latest trunk. Works for me both in single-seat (UNC) and multiseat (RTSP) modes.
     

    Attachments

    • TV_unicodeFileNamesAndLog(Rev27758).zip
      15.9 KB

    Users who are viewing this thread

    Top Bottom