nZEDb icon indicating copy to clipboard operation
nZEDb copied to clipboard

reset release creation/collection ?

Open cytec opened this issue 7 years ago • 6 comments

is there any way to reset release generation and force nZEDb to regenerate releases? seems like i've messed up a regex and now im getting thousands of 1 File Releases which are the single Release Files instead of the Collection.

Not sure on how to do this the proper way... just throw those releases out of DB didn't look like a good idea to me

cytec avatar Dec 20 '16 13:12 cytec

I tend to set passwdstatus to '-10'

ghost avatar Dec 20 '16 13:12 ghost

Same issue as @cytec here as well. Some release showing a count 1K or more with each release a part (rar) of one single release. This started with a more recent change to DEV by @DariusIII I believe

scottia avatar Dec 20 '16 17:12 scottia

I did nothing related to release creation. Something else is causing problems.

DariusIII avatar Dec 20 '16 19:12 DariusIII

seems that are from crap posters like Warezfreak and [email protected]

[email protected]|nEwZ[NZB] <[email protected]> put those in black list and you're rid of them

Wally73 avatar Dec 20 '16 19:12 Wally73

Your right @Wally73 Loads of them to be Blacklisted :)

scottia avatar Dec 20 '16 20:12 scottia

I've created regexes for those here: https://github.com/nZEDb/nZEDb/issues/1690#issuecomment-268524648 also deleting the releases from the release table and backfilling the group again fixed my initial error. now im getting those releases shown correctly.

PS: you may need to adjust the categorize.php function for a.b.moovee as well afaik the default one only checks for tv and movie and sorts everything else in movie -> sd

EDIT: my changed nzedb/Categorize.php:

case $group === 'alt.binaries.moovee':
  switch (true) {
    case $this->isTV():  // Check if it's TV first as some tv posted in moovee
      break;
    case $this->isXxx():
      break;
    case $this->isMovieSD(): // Need to check this BEFORE the HD check
      break;
    case $this->isMovieUHD():  // Check the movie isn't an UHD release before blindly assigning SD
      break;
    case $this->isMovieHD():  // Check the movie isn't an HD release before blindly assigning SD
      break;
    case $this->isMusic(): // check for music before we assign Movie
      break;
    case $this->isPC():
      break;
    case $this->isConsole():
      break;
    case $this->isBook():
      break;
    case $this->isMisc():
      break;
    default:
      $this->tmpCat = Category::OTHER_MISC;
      break;
  }
  break;

cytec avatar Dec 21 '16 13:12 cytec