Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: option for generate a single multi-episode.nfo file instead of an nfo per episode #8

Open
Chronosaurus42 opened this issue Mar 22, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@Chronosaurus42
Copy link

Chronosaurus42 commented Mar 22, 2024

Hi, i think it would be a good option to have the possibility to create a single nfo file for a series rather than one nfo file per episode.

Kodi had an option for this, it just bundle all the single nfo files inside a single file with the name mutli-episode.nfo

Its no big deal to create this file from the single episode files

➤ echo "<?xml version="1.0" ?>" > multi-episode.nfo 
➤ for i in $(ls *S??E??*.nfo); do cat $i | tac | head -n -1 | tac >> multi-episode.nfo ; done
➤ rm *S??E??*.nfo

The only 'tricky' part is maybe to match the wildcards (*SE.nfo) under certain circumstances.

But i think it would be nice to had an option which just create this kind of file instead of a nfo for every single episode.
Anyway big thanks for your project it has already saved me a lot of work.

@fracpete fracpete self-assigned this Mar 22, 2024
@fracpete fracpete added the enhancement New feature or request label Mar 22, 2024
@fracpete
Copy link
Owner

Sounds like a good idea

Kodi wiki on multi-episode nfo files:

https://kodi.wiki/view/NFO_files/Episodes#Multi-Episode_Files

@fracpete
Copy link
Owner

Just added the experimental --multi_episodes flag with 9ff7ec9. Have a look whether that is what you're after.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants