rmcrackan / Libation

Libation: Liberate your Library
GNU General Public License v3.0
2.77k stars 152 forks source link

<series#> not working in Folder template for podcasts, works in File template #955

Open Kagee opened 3 months ago

Kagee commented 3 months ago

Describe the bug The <series#> (number in series/podcast episode) tag is empty if used in a Folder template for a podcast, while it works in the File template for same. Wether or not the tag is inside or outside a <if ...-> tag does not matter.

To Reproduce Steps to reproduce the behavior:

  1. Download a book in a series and a podcast episode.
  2. Observe that the book has the correct file- and folder name.
  3. Observe that the book has the correct filename, but wrong folder name.

Examples (Eric - Book, Critical Role posdcast episode 296 / C3E97):

Expected behavior

Screenshots If applicable, add screenshots to help explain your problem.

Platform

Log Files washed_log.txt

CLHatch commented 3 months ago

<series#> actually works for me with podcasts, in that it displays the number. The issue I've run into that makes it useless is that Audible has no "standard" way of numbering them, it seems. They keep resetting the series numbers to where "episode 1" doesn't necessarily have the episode NUMBER of 1 anymore. Here's is my naming pattern and the results of one of my podcast downloads Notice that the episode numbers in the titles don't match what the episode number shows as. This is a known issue that is either purely Audible's fault and there's nothing we can do, or an issue that no one knows how to get the "right" episode number yet. Not sure which it is, honestly.

<if podcast->Podcasts\Audible\<account nickname>\<author[separator(; )]>\<if series-><series>\<series#[00.##]> - <-if series>(<pub date>) - <series> - <title> [<id>]<-if podcast><!if podcast->AudioBooks\Audible\<account nickname>\<author[separator(; )]>\<if series-><series>\<series#[00.##]> - <-if series>(<year>) - <title> [<id>]<-if podcast>

<audible title> [<id>]

image