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

alway get FlixPatrol Error: failed to parse #1445

Closed
xcybermanx opened this issue May 23, 2023 · 5 comments
Closed

alway get FlixPatrol Error: failed to parse #1445

xcybermanx opened this issue May 23, 2023 · 5 comments
Assignees
Labels
bug Bug is with Plex Meta Manager status:not-yet-viewed I haven't reviewed the Feature or Bug yet

Comments

@xcybermanx
Copy link

xcybermanx commented May 23, 2023

Version Number

1.19.0

What branch are you on?

master

Describe the Bug

hello i make top10.yml with this content :

collections:
  Top 20 mensuel de Netflix aux Etats-Unis:
    flixpatrol_top:
      platform: netflix
      location: united_states
      time_window: this_month
      limit: 20
    collection_order: custom
    sync_mode: sync

but in log alway i have this message :

Top 20 mensuel de Netflix aux Etats-Unis | 0 | 0 | 0 | 0:00:00 | PMM Failure |
| FlixPatrol Error: https://flixpatrol.com/top10/netflix/united-states/2023-04/full/ failed to parse

i have change time_window to year week days but not sucess

Thank You

Relevant Collection/Overlay/Playlist Definition

No response

Logs

[2023-05-23 11:27:13,428] [builder.py:890] [DEBUG] | Validating Method: flixpatrol_top |
[2023-05-23 11:27:13,428] [builder.py:891] [DEBUG] | Value: ordereddict([('platform', 'netflix'), ('location', 'united_states'), ('time_window', 'last_month'), ('limit', 20)]) |
[2023-05-23 11:27:13,625] [flixpatrol.py:62] [INFO] | [] |
[2023-05-23 11:27:13,703] [flixpatrol.py:68] [INFO] | [] |
[2023-05-23 11:27:13,709] [plex_meta_manager.py:827] [DEBUG] | Traceback (most recent call last): |
| File "//plex_meta_manager.py", line 691, in run_collection |
| builder = CollectionBuilder(config, metadata, mapping_name, collection_attrs, library=library, extra=output_str) |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| File "/modules/builder.py", line 958, in init |
| self._flixpatrol(method_name, method_data) |
| File "/modules/builder.py", line 1401, in _flixpatrol |
| if self.config.FlixPatrol.validate_flixpatrol_dict(method_name, data, self.language, self.library.is_movie): |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| File "/modules/flixpatrol.py", line 90, in validate_flixpatrol_dict |
| return len(self.validate_flixpatrol_lists(self.get_url(method, data, is_movie), language, is_movie)) > 0 |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| File "/modules/flixpatrol.py", line 86, in validate_flixpatrol_lists |
| raise Failed(f"FlixPatrol Error: {list_url} failed to parse") |
| modules.util.Failed: FlixPatrol Error: https://flixpatrol.com/top10/netflix/united-states/2023-04/full/ failed to parse |
| |
[2023-05-23 11:27:13,710] [plex_meta_manager.py:828] [ERROR] | FlixPatrol Error: https://flixpatrol.com/top10/netflix/united-states/2023-04/full/ failed to parse |
[2023-05-23 11:27:13,710] [plex_meta_manager.py:839] [INFO] | |

@xcybermanx xcybermanx added bug Bug is with Plex Meta Manager status:not-yet-viewed I haven't reviewed the Feature or Bug yet labels May 23, 2023
@Tibbar-Retep
Copy link

Can confirm the same "FlixPatrol Error's" on netflix/disney/hbo/hulu/paramount-plus/amazon-prime/apple-tv Flixpatrol failed to parse

@strumswell
Copy link

strumswell commented May 24, 2023

This issue might be related #1217

EDIT: I get an error on this url https://flixpatrol.com/top10/apple-tv/world/2023-020/full/ but it seems pretty full, so not sure if the issue above really applies.

@GOATpotts
Copy link

Can confirm same issue for overlay / collection configs:
FlixPatrol Error: https://flixpatrol.com/top10/amazon-prime/united-states/2023-05/full/
It errors out on every network for movies and TV.
Time_window changes do not seem to help or location. Making the config default with no template variable doesn't work either.

@chazlarson
Copy link
Contributor

A fix for this has been put into the nightly branch.

@GOATpotts
Copy link

Just ran the nightly build, it works. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug is with Plex Meta Manager status:not-yet-viewed I haven't reviewed the Feature or Bug yet
Projects
None yet
Development

No branches or pull requests

6 participants