Issues with TV.com Parser renaming files (1 Viewer)

WeeToddDid

Retired Team Member
  • Premium Supporter
  • December 2, 2005
    127
    0
    Ottawa, Canada
    Area: TV.com Parser
    MP Version: MediaPortal 0.2 RC2
    Optional Log: /log/vcomLog.txt

    I have noticed two issues with the TV.com Parser that occur within Media Portal\My Videos when you performing a TV.COM Lookup.

    1. Renaming of files does not update the Movie database with the new filename.
    2. Renaming of files that contain invalid characters (/, \, |, ", *, ?) fail.
     

    WeeToddDid

    Retired Team Member
  • Premium Supporter
  • December 2, 2005
    127
    0
    Ottawa, Canada
    Solution issues described above

    Although, the original developer will probably come up with his own solution to the two issues described above, I wanted to share how I solved these issues:

    Solution to Issue 1:

    1. Replace "movieDetails.File = newFilename.Remove 0,pathAndFilename.LastIndexOf("\\")+1);" with "movieDetails.File = newFilename;" in GUIVideoFiles.cs.
    2. Recomplie WindowPlugins project.
    3. Copy WindowPlugins.dll into the Media Portal Folder.

    Solution to Issue 2:

    1. Add "newFilename = newFilename.Replace(@"\", "_").Replace(@"/", "_").Replace(@":", "_").Replace(@"*", "_").Replace(@"?", "_").Replace(@"|", "_");" after "newFilename = tvParser.getFilennameFriendlyString(newFilename);" in GUIVideoFiles.cs.
    2. Recomplie WindowPlugins project.
    3. Copy WindowPlugins.dll into the Media Portal Folder.
     

    Users who are viewing this thread

    Top Bottom