Help Needed: Configuring MeTube Docker Output for Numbered Playlists
Hi everyone, I'm using MeTube in a Docker Portainer setup and I'm trying to configure the output template so that the videos in a playlist are numbered in a three-digit format (e.g., 001, 002, 010, 100). Despite my attempts, I haven't been able to get the numbering to work correctly.
Here is my current Docker Compose configuration for the MeTube environment:
environment:
- 'OUTPUT_TEMPLATE=Playlist |%(playlist_title)s by %(playlist_uploader)s - %(playlist_index)03d of %(playlist_count)s - %(uploader|UNKNOWN_AUTHOR)s - %(title|UNKNOWN_TITLE)s - %(upload_date|UNKNOWN_DATE)s.%(ext)s'
I'm specifically trying to achieve the three-digit playlist numbering using %(playlist_index)03d, also tried with - %(autonumber)s-%(title)s.%(ext)s but it doesn't seem to be working as expected. I would appreciate any advice or examples of how others have successfully configured this.
Thank you in advance for your help!
Best regards, Shoaib
are you meaning %(playlist_index)03d
are you meaning
%(playlist_index)03d
Yes
well, %(playlist_index)03d works for me. and the title is shown on the webui instead of the file name. please consider whether the saved file is correctly.
btw, if you use a conditional selector "|", The following will have no effect unless the previous expression evaluates to None
%(playlist_index)03d
Like this?
I tried but it still didn't work if possible can you share your docker compose environment variables code?
sorry my mistoken. can you please fallback to ghcr.io/alexta69/metube:2024-08-07 and set
- 'OUTPUT_TEMPLATE_PLAYLIST = %(playlist_title)s by %(playlist_uploader)s - %(playlist_index)03d of %(playlist_count)s - %(uploader|UNKNOWN_AUTHOR)s - %(title|UNKNOWN_TITLE)s - %(upload_date|UNKNOWN_DATE)s.%(ext)s'
and see if it's correctly?
No need for sorry mate, I tried this but its still same no numbers
Similar issue here. I simply want the files to read as "01 Name.ext" - I tried a bunch of variations but still no luck. Keeps giving me the same output "Name.ext"
environment:
- 'OUTPUT_TEMPLATE_PLAYLIST = %(playlist_index)02d of %(playlist_count)s %(title|UNKNOWN_TITLE)s.%(ext)s'
Same problem here. I wonder whether that could be due to metube's support for concurrent downloads? I could imagine (but haven't checked the code) a bug mechanism via which the playlist items would be first listed, then queued, and each individual item would get downloaded separately and not as part of a playlist. Could that be the case?
Same problem here. I wonder whether that could be due to metube's support for concurrent downloads? I could imagine (but haven't checked the code) a bug mechanism via which the playlist items would be first listed, then queued, and each individual item would get downloaded separately and not as part of a playlist. Could that be the case?
you're right but it is another issue