Quantcast
Channel: configuration - Forum - FlexGet
Viewing all articles
Browse latest Browse all 716

How to store movie translation names (from Trakt) in a local list

$
0
0

@S3cret wrote:

I use the following Task to store movie names in a list:

  update_trakt_list:
    trakt_list:
      account: myaccountname
      list: Movies
      type: movies
    trakt_lookup: yes
    accept_all: yes
    list_clear:
      what:
        - movie_list: movies
      phase: modify
    list_add:
      - movie_list: movies
    disable: seen

What modification Do I need now to store them in a different language? trakt_lookup creates the trakt_translations field and I was able to prove that the data is there via exec:

    exec:
      on_exit:
        for_accepted: echo "{{trakt_translations['de']['title']}}"

Executing: echo "Star Wars: Die letzten Jedi"

Now I want to rename the movie_name field so the translated version is stored in the list. I tried it with manipulate but no chance:
Field movie_name is now None

    manipulate:
      - movie_name:
          phase: modify
          from: trakt_translations['de']['title']

How to do this?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 716

Trending Articles