Skip to content

Support the AvistaZ network (AZ, CZ, PHD) #287

Description

@recurst

Although AvistaZ (AZ), CinemaZ (CZ) and PrivateHD (PHD) have been added to the tracker list, upbrr doesn't really support them yet.

1. Prompt to add missing media to the tracker database

If a movie/show does not yet exist in the tracker's database, upbrr currently aborts with an error instead of offering to add it:

WARN: trackers: upload failures: CZ: trackers: CZ media missing from tracker database; add it on-site at https://cinemaz.to/add/movie then retry
WARN: core: upload prepared blocked err=core: trackers: CZ: trackers: CZ media missing from tracker database; add it on-site at https://cinemaz.to/add/movie then retry
INFO: db: closing sqlite
error: upbrr: core: trackers: CZ: trackers: CZ media missing from tracker database; add it on-site at https://cinemaz.to/add/movie then retry

Upbrr should prompt the user with a y/n question again, asking whether it should add the media to the tracker database before continuing.

2. Prompt on failed rule checks instead of silently skipping uploads

When Check for rules is enabled in upbrr's default tracker settings, a failed rule check currently causes the upload to be skipped. Instead, upbrr should display a y/n prompt, as upload-assistant does, asking whether the user wants to continue despite the potential rule violation. This is particularly important for the AvistaZ network because upbrr cannot always correctly determine which tracker a movie or show belongs on.

3. Image uploads are not working correctly

When attempting to upload to an AvistaZ network tracker, it currently fails with:

WARN: trackers: upload failures: PHD: trackers: PHD image host returned fewer than 3 screenshots
WARN: core: upload prepared blocked err=core: trackers: PHD: trackers: PHD image host returned fewer than 3 screenshots
INFO: db: closing sqlite
error: upbrr: core: trackers: PHD: trackers: PHD image host returned fewer than 3 screenshots

and only a barebones draft is created on the tracker. It seems like image uploads haven't been properly carried over from upload-assistant yet.

And finally, it might be a good idea to verify that the naming logic has been fully carried over from upload-assistant. The AvistaZ trackers have a few tracker-specific naming rules.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions