Quantcast
Channel: uncategorized - Forum - FlexGet
Viewing all articles
Browse latest Browse all 376

imdb_watchlist more than 250 items workaround

$
0
0

@snickers2k wrote:

just saw that imdb api for watchlist is now restricted to 250 entries.
i have around 2000 in my watchlist, so thats not gonna work.

here is my work around, if someone needs it

its based on csv download of the watchlist and load it with csv plugin

  ######################################## Get imdb watchlist
  ## imdb API (used by imdb_list-plugin) is now restricted to 250 entries - everything above results in error
  ## CSV workaround:
  Get_IMDb_Watchlist:
    interval: 1 hours
    template:
      - no_seen
      - no_global
    priority: 1
    no_entries_ok: yes
    exec:
      on_start:
        phase: 
          - "cd {? html.path ?}/ && rm WATCHLIST.csv; wget http://www.imdb.com/list/ls{? imdb.usrID ?}/export && chmod +x WATCHLIST.csv"
          
  ######################################## Sync Trakt/IMDb Movie-Watchlist to Flexget-Queue
  ## imdb API (used by imdb_list-plugin) is now restricted to 250 entries - everything above results in error
  ## CSV workaround:
  Sync_Movies:
    interval: 24 hours
    template: no_global
    priority: 2
#    imdb_watchlist:
#      user_id: 'ur{? imdb.usrID ?}'
#      list: watchlist
#      force_language: de-de
    csv:
      url: http://localhost/WATCHLIST.csv
      values:
        title: 6
        imdb_id: 2
        imdb_url: 7
        url: 7
    accept_all: yes
    seen: local
    crossmatch:
      from:
        - trakt_list:
            account: '{? trakt.acc ?}'
            list: collection
            type: movies
      fields:
        - imdb_id
      action: reject
    list_add:
      - movie_list: Default
      - trakt_list:
          account: '{? trakt.acc ?}'
          list: watchlist
          type: movies

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 376

Trending Articles