Uploaded image for project: 'MediaPortal 1'
  1. MediaPortal 1
  2. MP1-4964

TVE3 - Implement recording file name/file path length checking

    XMLWordPrintable

Details

    • Icon: Improvement/Rework Improvement/Rework
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.22.100
    • 1.22.0
    • TvServer
    • None

    Description

      <p>TV Server (TVE3) does not check the maximum length of the file names/paths that it creates in the MakeFileName() method in 'RecordingDetail.cs'.</p>

      <p>This means it is possible for unusable file paths ( &gt; 260 characters) to be created and passed to other code, resulting in problems - see&nbsp;<a href="https://forum.team-mediaportal.com/threads/recordings-will-not-stop.139185/">https://forum.team-mediaportal.com/threads/recordings-will-not-stop.139185/&lt;/a> for an example caused by excessively long program titles from the EPG data.</p>

      <p>The changes mean it will check the length and if possible sensibly truncate the generated filename to fit within the Windows limits (with an allowance for later append and prepend&nbsp;of extensions and hostnames/IP addresses in some circumstances).</p>

      Attachments

        Activity

          People

            Owlsroost Owlsroost (Inactive)
            Owlsroost Owlsroost (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: