deniscerri / ytdlnis

Android Video/Audio Downloader app using yt-dlp
GNU General Public License v3.0
2.93k stars 99 forks source link

[FEATURE REQUEST] Option to automatically number each chapter when using "split by chapter" #473

Closed MrBKA95 closed 1 month ago

MrBKA95 commented 2 months ago

I was wondering if you could add an option to automatically number each chapter in the video titles in numerical order when using the "split by chapters" feature. I've tried multiple times using different options in the filename template and have tried finding command lines on websites, all to no avail.

Alternatively, if there is something that I need to do in the filename template, or if you or someone else can give me a command line that I can add to the extra commands for this to happen, that would be massively appreciated. 🙏

teddysulaimanGL commented 2 months ago

Okay, can you tell what filename template did you try it with?

MrBKA95 commented 2 months ago

I've tried various to be honest: %(autonumber)s %(video_autonumber)s %(chapter)s %(chapternumber)s %(chapter_id)s

teddysulaimanGL commented 2 months ago

Now try with %(section_title)s and/or %(section_number)s

MrBKA95 commented 2 months ago

Tried each separately and together and still only the chapter titles

teddysulaimanGL commented 2 months ago

Oh, okay. I see what's going on. Noted

MrBKA95 commented 2 months ago

Ok thank you

zaednasr commented 2 months ago

image

Split by chapters is hardcoded in the app. So i added the section number in it. It should do the job

MrBKA95 commented 2 months ago

Brilliant. Thank you

zaednasr commented 1 month ago

Check the latest beta: https://github.com/deniscerri/ytdlnis/releases/tag/v1.7.6.1-beta