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

Archive plugin: Some improvements and bug #276

Open
Speedmod88 opened this issue Mar 11, 2023 · 0 comments
Open

Archive plugin: Some improvements and bug #276

Speedmod88 opened this issue Mar 11, 2023 · 0 comments
Milestone

Comments

@Speedmod88
Copy link

Speedmod88 commented Mar 11, 2023

here some enhancement and a bug for the Archive plugin

  1. fix regex for ${rlz} to work with Anime release name and other release with only a Year/date in the tag (Release.Name.E01.bla-TEAM, Release.Name.VOL01.bla-TEAM, Release.Name.2023-11-11.bla-TEAM)

the default regex in the code (?i)(.*)(\.|-|)S\d.*_ send all animes to UNKNOWN if there no .S01. in the release tag

  1. if possible, move the scansubdirs regex into archive.conf so we can customize it as our need base on section we need to use it with x.scansubdirs=1

atm this regex line are in the ArchivesType.java as a default regex. We can't change it without recompiling the whole stuff.

  1. an option to archives only 100% completed release and NOT NUKED- to leave only incompleted one.

  2. there a bug with the MoveReleaseOffSlavesToMostFreeSlaves
    instead of just moving the file from a specific slave to most free slaves. He transfer the whole release off every slaves to the most free slave.

ex:
1.type=MoveReleaseOffSlavesToMostFreeSlaves
1.section=TV
1.archiveafter=1440
1.numofslaves=1
1.priority=1
1.offofslave.1=SlaveTEST
1.slavename.1=Slave1
1.slavename.2=Slave2
1.slavename.3=Slave3

tvrelease.S01E01-team got file from all slaves -> SlaveTEST, Slave1, Slave2 and Slave3

when the plugin proc. It move all files of tvrelease.S01E01-team to Slave3 which is the one with the most free space Instead of only few file that are only in SlaveTEST to Slave3

Thanks a lot :)
and great job guys for your work

@ghost ghost added the enhancement label Mar 25, 2023
@ghost ghost added this to the 4.0.X-dev milestone Mar 25, 2023
@Speedmod88 Speedmod88 changed the title Archive plugin Regex fix and ScanSubDirs Archive plugin: Some improvements and bug Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant