tubesync icon indicating copy to clipboard operation
tubesync copied to clipboard

Add a per-source {counter} to the file format marcos

Open meeb opened this issue 4 years ago • 3 comments

Each source should have an incrementing "dumb" counter which can be used as a {counter} macro in the file format. This requires adding a counter field to both source and media items, unique per source.

meeb avatar Oct 15 '21 09:10 meeb

This probably also have a {source_counter} as a unique counter per source.

meeb avatar Oct 15 '21 10:10 meeb

Would really love this, I spent all weekend playing around with Tubesync. It works absolutely great, I'm just hung up on it with my particular use case.

Plex seemed like a no go. I would like to be able to play the episodes sequentially and keep track of its progress as if each channel was one big long TV show. Their "Other Videos" category handles the metadata well enough (just uses the video filename) but only plays the videos one at a time and stops. The TV Shows category (without pulling metadata) would work except it just uses the file creation date as the video title.

I tried Emby next, with the following naming scheme:

S{yyyy}E{mm}{dd} - {source_full} - {title_full} [{key}].{ext}

This seemed to work great! It looked a little wonky, but everything was in order and played like one long TV show, storing my progress, as well as populating the metadata from the nfo files. However, I didn't notice until later that episodes would go missing (probably displayed as alternative versions) if the channel posted more than one video a day (it would have the same SXXEXXXX number), which happens often enough.

Tl;dr: Would love a counter, so I can do something like:

S01E{counter} - {source_full} - {title_full} [{key}].{ext}

And have it show all the episodes as one long TV show in the correct order

ataylor-us avatar Apr 26 '22 18:04 ataylor-us

maybe as an Idea: with yt-dlp I use the switch --autonumber-start and verify the latest number (yy) in the season folder (S01Eyy) and for the naming I have S01E%(autonumber)02d - %(title)s which will add the autonumber with two digits you can also make the S01 the xx dynamic if you like (I guess).

alneven avatar Feb 19 '23 11:02 alneven