pinchflat icon indicating copy to clipboard operation
pinchflat copied to clipboard

[Triage] TV-show title differs from source name

Open krafs opened this issue 8 months ago • 4 comments

Describe the bug title in tvshow.nfo differs from source name.

To Reproduce

  1. Create new media profile with the Media Center preset.
  2. Create new source using this media profile and any channel URL (e.g. https://www.youtube.com/@GredGlintstone). Set custom name to Test.
  3. Wait for Pinchflat to download channel metadata to disk.
  4. Open tvshow.nfo and notice title.

Expected: title is equal to Test, the custom source name.

Actual: title is equal to the name of the YouTube playlist name. Using the above example URL, that becomes Gred Glintstone - Videos.

Not only is title not equal to the custom source name, it's also suffixed by - Videos due to the Media Center preset excluding livestreams. Including livestreams omits the suffix.

Diagnostic info

  • App Version: 2025.2.20
  • yt-dlp Version: 2025.02.19
  • Apprise Version: v1.9.2
  • System Architecture: x86_64-pc-linux-gnu
  • Timezone: Europe/Stockholm

krafs avatar Mar 05 '25 08:03 krafs

Hey there! Thanks for the report (:

This may be solved incidentally by a fix I've made to yt-dlp auto updates. That fix will be going out in a release tomorrow - let me know if it still happens after that new version is out!

kieraneglin avatar Mar 06 '25 00:03 kieraneglin

Thanks! I'll make sure to try it out.

krafs avatar Mar 06 '25 05:03 krafs

That version has been pushed! It may take up to an hour for it to be available to download.

Let me know if that resolves this issue!

kieraneglin avatar Mar 06 '25 22:03 kieraneglin

Tried the latest:

  • App Version: 2025.3.6
  • yt-dlp Version: 2025.02.19

Doing the above steps again I still get a tvshow.nfo with the following contents:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<tvshow>
  <title>Gred Glintstone - Videos</title>
  <uniqueid type="youtube" default="true">UCZStlq3XUQKViPiXK_d_RYg</uniqueid>
  <genre>YouTube</genre>
</tvshow>

Two things:

  1. title is still suffixed with - Videos.
  2. I am expecting title to be equal to the custom source name; Test.

Looking at the code I don't see how the custom source name is ever used in the tvshow.nfo. Is title always meant to take the title of the playlist? It's not supposed to use my custom source name?

krafs avatar Mar 07 '25 08:03 krafs