Skip to content

Crashes when it can't find an item #178

Description

@listy-bit

Have You Read The Wiki?:

Yes

Describe What You Are Trying To Accomplish:

Normal usage of the script.

Describe What Is Happening:

Script gets to the same point mid-run when it crashes with the message:

HTTPError: Unable to get information from server during processing of: studio_network_info_for_69a36f3d4c0d7e6fb7c66000aa034a0c
  Object: <bound method Request.header_items of <urllib.request.Request object at 0x794c751a4860>>
     URL: http://192.168.0.30:8096/Users/ce814cca81c04614836bcb508999220d/Items/69a36f3d4c0d7e6fb7c66000aa034a0c?enableImages=False&enableUserData=True&Fields=ParentId,Genres,Tags,RecursiveItemCount,ChildCount,Type,ProviderIds
  Method: GET
  Header: {'Authorization': 'MediaBrowser Client="mumc.py", Device="Multi-User Media Cleaner", DeviceId="MUMC", Version="5.11.36", Token="3d68fd09a2ac447385a0d57fa42a9e45"', 'Content-type': 'application/json'}
  DataTx: None
  DataRx: None

HTTPError: 404 - Not Found

Checking Jellyfin, there is no such item listed, JF DB integrity verified as OK.

MUMC Configiration File:

---
version: 5.11.28-beta
basic_settings:
  filter_statements:
    movie:
      played:
        condition_days: 0
        count_equality: '>='
        count: 1
      created:
        condition_days: -1
        count_equality: '>='
        count: 1
        behavioral_control: true
    episode:
      played:
        condition_days: 0
        count_equality: '>='
        count: 1
      created:
        condition_days: -1
        count_equality: '>='
        count: 1
        behavioral_control: true
advanced_settings:
  REMOVE_FILES: false
  filter_statements:
    movie:
      query_filter:
        whitelisted:
          favorited: false
          whitetagged: false
          blacktagged: true
          played: false
        blacklisted:
          favorited: true
          whitetagged: false
          blacktagged: true
          played: true
    episode:
      query_filter:
        whitelisted:
          favorited: false
          whitetagged: false
          blacktagged: true
          played: false
        blacklisted:
          favorited: true
          whitetagged: false
          blacktagged: true
          played: true
  behavioral_statements:
    movie:
      favorited:
        action: keep
        user_conditional: any
        played_conditional: ignore
        action_control: 3
        dynamic_behavior: false
        extra:
          genre: 0
          library_genre: 0
      whitetagged:
        action: keep
        user_conditional: all
        played_conditional: ignore
        action_control: 0
        dynamic_behavior: false
        tags: []
      blacktagged:
        action: delete
        user_conditional: all
        played_conditional: any_played
        action_control: 0
        dynamic_behavior: false
        tags: []
      whitelisted:
        action: keep
        user_conditional: any
        played_conditional: ignore
        action_control: 3
        dynamic_behavior: false
      blacklisted:
        action: delete
        user_conditional: any
        played_conditional: any_played
        action_control: 3
        dynamic_behavior: false
    episode:
      favorited:
        action: keep
        user_conditional: any
        played_conditional: ignore
        action_control: 3
        dynamic_behavior: false
        extra:
          genre: 0
          season_genre: 0
          series_genre: 0
          library_genre: 0
          studio_network: 0
          studio_network_genre: 0
      whitetagged:
        action: keep
        user_conditional: all
        played_conditional: ignore
        action_control: 3
        dynamic_behavior: false
        tags: [mumcwl]
      blacktagged:
        action: delete
        user_conditional: all
        played_conditional: any_played
        action_control: 0
        dynamic_behavior: false
        tags: []
      whitelisted:
        action: keep
        user_conditional: any
        played_conditional: ignore
        action_control: 3
        dynamic_behavior: false
      blacklisted:
        action: delete
        user_conditional: any
        played_conditional: any_played
        action_control: 3
        dynamic_behavior: false
  episode_control:
    minimum_episodes: 0
    minimum_played_episodes: 1
    minimum_episodes_behavior: Max Played Min Unplayed
    series_ended:
      delete_episodes: false
admin_settings:
  media_managers:
    sonarr:
      enabled: true
      url: http://xxxxxxxxxxx:8989
      api_key: xxxxxxxxxx
  server:
    brand: jellyfin
    url: http://xxxxxxxxxxx:8096
    auth_key: xxxxxxxxxxx
    admin_id: xxxxxxxxxxx
  users:
  - user_id: ce814cca81c04614836bcb508999220d
    user_name: username
    whitelist:
    - lib_id: e594819c3a872111182274d89135d8d5
      lib_name: Film Archive
      collection_type: movies
      path: /PO-Film
      network_path: null
      subfolder_id: null
      lib_enabled: true
    - lib_id: e594819c3a872111182274d89135d8d5
      lib_name: Film Archive
      collection_type: movies
      path: /Film-Archive
      network_path: null
      subfolder_id: null
      lib_enabled: true
    - lib_id: fb2315b74cd65e98c7834ade2839963c
      lib_name: TV Archive
      collection_type: tvshows
      path: /PO-TV
      network_path: null
      subfolder_id: null
      lib_enabled: true
    - lib_id: fb2315b74cd65e98c7834ade2839963c
      lib_name: TV Archive
      collection_type: tvshows
      path: /TV-Archive
      network_path: null
      subfolder_id: null
      lib_enabled: true
    blacklist:
    - lib_id: ffa1bd7ee34ea97d335c2e3e6fbf61b2
      lib_name: Film Current
      collection_type: movies
      path: /Film
      network_path: null
      subfolder_id: null
      lib_enabled: true
    - lib_id: 39ceeb80955854d39344850a9cb40db1
      lib_name: TV Current
      collection_type: tvshows
      path: /TV-Current
      network_path: null
      subfolder_id: null
      lib_enabled: true
    - lib_id: 39ceeb80955854d39344850a9cb40db1
      lib_name: TV Current
      collection_type: tvshows
      path: /MSJ-Sport
      network_path: null
      subfolder_id: null
      lib_enabled: true
    - lib_id: 39ceeb80955854d39344850a9cb40db1
      lib_name: TV Current
      collection_type: tvshows
      path: /iPlayer
      network_path: null
      subfolder_id: null
      lib_enabled: true
    - lib_id: 681af6003ca7ab92ef2fef316c53a459
      lib_name: TV Singles
      collection_type: movies
      path: /TV-Singles
      network_path: null
      subfolder_id: null
      lib_enabled: true
DEBUG: 0
...

Any Additional Information You Think Will Be Useful:

MUMC 5.11.36
Jellyfin 10.11.11

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions