Repository: Flexget/Flexget

Issue:
from_emby not working with series, always returns movies
This works as expected and lists the users favorite movies
 ```
from_emby:
  server:
    host: http://emby.localhost:8096
    username: flexget
    password: flexget
    return_host: wan
  list: favorite
  types: movie
```

This does NOT work as expected and still only lists the users favorite movies instead of series
 ```
from_emby:
  server:
    host: http://emby.localhost:8096
    username: flexget
    password: flexget
    return_host: wan
  list: favorite
  types: series
```

#### Config:
```yaml
templates:
  tv:
    configure_series:
      from:
        from_emby:
          server:
            host: http://emby.localhost:8096
            username: flexget
            password: flexget
            return_host: wan
          types: series
          list: favorite

  movies:
    from_emby:
      server:
        host: http://emby.localhost:8096
        username: flexget
        password: flexget
        return_host: wan
      types: movie
      list: favorite
    accept_all: yes


tasks:

  tv:
    template: tv
    thetvdb_lookup: yes
    emby_lookup:
      host: http://emby.localhost:8096
      username: flexget
      password: flexget
      return_host: wan
    set:
      url: "{{ emby_download_url }}"
    download:
      path: "/tv/{{ emby_serie_name }}/Season {{ emby_serie_year|pad(2) }}/"
      temp: /temp/
      filename: "{{ emby_filename }}"

  movies:
    imdb_lookup: yes
    template: movies
    emby_lookup:
      host: http://emby.localhost:8096
      username: flexget
      password: flexget
      return_host: wan
    set:
      url: "{{ emby_download_url }}"
    download:
      path: /movies/
      temp: /temp/
      filename: "{{ emby_filename }}"

```
  
#### Log:
<details>
 <summary>(click to expand)</summary>

```
2021-09-02 19:18:54 DEBUG    manager                       Figuring out config load paths
2021-09-02 19:18:54 DEBUG    manager                       Found config: /flexget/config.yml
2021-09-02 19:18:54 DEBUG    manager                       Config file /flexget/config.yml selected
2021-09-02 19:18:54 DEBUG    manager                       sys.defaultencoding: utf-8
2021-09-02 19:18:54 DEBUG    manager                       sys.getfilesystemencoding: utf-8
2021-09-02 19:18:54 DEBUG    manager                       flexget detected io encoding: utf-8
2021-09-02 19:18:54 DEBUG    manager                       os.path.supports_unicode_filenames: False
2021-09-02 19:18:54 INFO     manager                       Test mode, creating a copy from database ...
2021-09-02 19:18:54 DEBUG    plugin                        Trying to load plugins from: ['/flexget/plugins', '/flexget/lib/python3.6/site-packages/flexget/plugins']
2021-09-02 19:18:54 DEBUG    plugin                        Plugin `memusage` requires plugin `ext lib `guppy`` to load.
2021-09-02 19:18:55 DEBUG    plugin                        Trying to load components from: ['/flexget/components', '/flexget/lib/python3.6/site-packages/flexget/components']
2021-09-02 19:18:56 DEBUG    plugin                        Plugins took 1.78 seconds to load. 314 plugins in registry.
2021-09-02 19:18:56 VERBOSE  manager                       Creating new database /flexget/test-config.sqlite - DO NOT INTERRUPT ...
2021-09-02 19:18:56 DEBUG    manager                       Connecting to: sqlite:////flexget/test-config.sqlite
2021-09-02 19:18:57 DEBUG    schema                        Initializing plugin simple_persistence schema version to 4
2021-09-02 19:18:57 DEBUG    schema                        Initializing plugin feed schema version to 0
2021-09-02 19:18:57 DEBUG    schema                        Initializing plugin input_cache schema version to 2
2021-09-02 19:18:57 DEBUG    schema                        Initializing plugin gazelle_session schema version to 0
2021-09-02 19:18:57 DEBUG    schema                        Initializing plugin discover schema version to 0
2021-09-02 19:18:57 DEBUG    schema                        Initializing plugin log_once schema version to 0
2021-09-02 19:18:57 DEBUG    schema                        Initializing plugin tail schema version to 0
2021-09-02 19:18:57 DEBUG    schema                        Initializing plugin api_rottentomatoes schema version to 2
2021-09-02 19:18:57 DEBUG    schema                        Initializing plugin myepisodes schema version to 0
2021-09-02 19:18:57 DEBUG    schema                        Initializing plugin pogcal_acquired schema version to 0
2021-09-02 19:18:57 DEBUG    schema                        Initializing plugin make_rss schema version to 0
2021-09-02 19:18:57 DEBUG    schema                        Initializing plugin digest schema version to 2
2021-09-02 19:18:57 DEBUG    schema                        Initializing plugin version_checker schema version to 0
2021-09-02 19:18:57 DEBUG    schema                        Initializing plugin api_bluray schema version to 0
2021-09-02 19:18:57 DEBUG    schema                        Initializing plugin upgrade schema version to 0
2021-09-02 19:18:57 DEBUG    schema                        Initializing plugin delay schema version to 3
2021-09-02 19:18:57 DEBUG    schema                        Initializing plugin variables schema version to 0
2021-09-02 19:18:57 DEBUG    schema                        Initializing plugin imdb_lookup schema version to 10
2021-09-02 19:18:57 DEBUG    schema                        Initializing plugin status schema version to 2
2021-09-02 19:18:57 DEBUG    schema                        Initializing plugin failed schema version to 3
2021-09-02 19:18:57 DEBUG    schema                        Initializing plugin tvmaze schema version to 7
2021-09-02 19:18:57 DEBUG    schema                        Initializing plugin series schema version to 14
2021-09-02 19:18:57 DEBUG    schema                        Initializing plugin api_tvdb schema version to 7
2021-09-02 19:18:57 DEBUG    schema                        Initializing plugin pending_approval schema version to 1
2021-09-02 19:18:57 DEBUG    schema                        Initializing plugin backlog schema version to 3
2021-09-02 19:18:57 DEBUG    schema                        Initializing plugin telegram_chat_ids schema version to 0
2021-09-02 19:18:57 DEBUG    schema                        Initializing plugin trakt_auth schema version to 0
2021-09-02 19:18:57 DEBUG    schema                        Initializing plugin api_trakt schema version to 7
2021-09-02 19:18:57 DEBUG    schema                        Initializing plugin subtitle_list schema version to 1
2021-09-02 19:18:57 DEBUG    schema                        Initializing plugin imdb_list schema version to 0
2021-09-02 19:18:57 DEBUG    schema                        Initializing plugin regexp_list schema version to 1
2021-09-02 19:18:57 DEBUG    schema                        Initializing plugin movie_list schema version to 0
2021-09-02 19:18:57 DEBUG    schema                        Initializing plugin pending_list schema version to 1
2021-09-02 19:18:57 DEBUG    schema                        Initializing plugin entry_list schema version to 2
2021-09-02 19:18:57 DEBUG    schema                        Initializing plugin seen schema version to 4
2021-09-02 19:18:57 DEBUG    schema                        Initializing plugin api_tmdb schema version to 6
2021-09-02 19:18:57 DEBUG    schema                        Initializing plugin archive schema version to 0
2021-09-02 19:18:57 DEBUG    schema                        Initializing plugin morethantv schema version to 0
2021-09-02 19:18:57 DEBUG    schema                        Initializing plugin alpharatio schema version to 0
2021-09-02 19:18:57 DEBUG    schema                        Initializing plugin rutracker_auth schema version to 0
2021-09-02 19:18:57 DEBUG    schema                        Initializing plugin passthepopcorn schema version to 1
2021-09-02 19:18:57 DEBUG    schema                        Initializing plugin hebits schema version to 0
2021-09-02 19:18:57 DEBUG    schema                        Initializing plugin filelist schema version to 0
2021-09-02 19:18:57 DEBUG    schema                        Initializing plugin remember_rejected schema version to 3
2021-09-02 19:18:57 DEBUG    manager                       config_name: config
2021-09-02 19:18:57 DEBUG    manager                       config_base: /flexget
2021-09-02 19:18:57 DEBUG    manager                       New config data loaded.
2021-09-02 19:18:57 DEBUG    schema                        entering flexget version 3.1.136 to db
2021-09-02 19:18:57 DEBUG    parsing                       setting default movie parser to internal. (options: {'internal': <flexget.components.parsing.parsers.parser_internal.ParserInternal object at 0x7fd37f3c9358>, 'guessit': <flexget.components.parsing.parsers.parser_guessit.ParserGuessit object at 0x7fd37f3c93c8>})
2021-09-02 19:18:57 DEBUG    parsing                       setting default series parser to internal. (options: {'internal': <flexget.components.parsing.parsers.parser_internal.ParserInternal object at 0x7fd37f3c9358>, 'guessit': <flexget.components.parsing.parsers.parser_guessit.ParserGuessit object at 0x7fd37f3c93c8>})
2021-09-02 19:18:57 DEBUG    cron_env                      Encoding utf-8 stored
2021-09-02 19:18:57 DEBUG    util.simple_persistence                 setting key terminal_encoding value 'utf-8'
2021-09-02 19:18:57 DEBUG    task_queue                    task queue shutdown requested
2021-09-02 19:18:57 VERBOSE  task_queue                    There are 1 tasks to execute. Shutdown will commence when they have completed.
2021-09-02 19:18:57 INFO     ipc.rpyc                      server started on [127.0.0.1]:44539
2021-09-02 19:18:57 DEBUG    task          tv              executing tv
2021-09-02 19:18:57 DEBUG    template      tv              Merging template tv into task tv
2021-09-02 19:18:57 DEBUG    api_emby      tv              Login to http://emby.localhost:8096 with username flexget and password
2021-09-02 19:18:57 DEBUG    utils.requests tv              POSTing URL http://emby.localhost:8096/emby/Users/AuthenticateByName with args () and kwargs {'data': None, 'json': {'Username': 'flexget', 'Pw': 'flexget'}, 'headers': {'X-Emby-Authorization': 'Emby UserId=, Client=Flexget, Device=Flexget Plugin, DeviceId=flexget_plugin, Version=3.1.136', 'accept': 'application/json'}, 'allow_redirects': True, 'verify': False, 'timeout': 30}
2021-09-02 19:18:58 DEBUG    utils.requests tv              GETing URL http://emby.localhost:8096/emby/System/Info with args () and kwargs {'params': {}, 'headers': {'X-Emby-Authorization': 'Emby UserId=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, Client=Flexget, Device=Flexget Plugin, DeviceId=flexget_plugin, Version=3.1.136', 'accept': 'application/json', 'X-Emby-Token': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'}, 'allow_redirects': True, 'verify': False, 'timeout': 30}
2021-09-02 19:18:58 DEBUG    api_emby      tv              Saving emby token to database
2021-09-02 19:18:58 DEBUG    util.simple_persistence tv              setting key token_data value {'host': 'http://emby.localhost:8096', 'username': 'flexget', 'userid': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', 'serverid': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', 'token': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', 'connect_username': '', 'login_type': 'user'}
2021-09-02 19:18:58 DEBUG    api_emby      tv              List is a root list
2021-09-02 19:18:58 DEBUG    api_emby      tv              Search root list with: {'Recursive': True, 'Fields': 'DateCreated,Path,ProviderIds,PremiereDate,MediaSources,Video3DFormat,Overview', 'IsMissing': False, 'IsFavorite': True, 'IncludeItemTypes': 'Episode,Movie'}
2021-09-02 19:18:58 DEBUG    utils.requests tv              GETing URL http://emby.localhost:8096/emby/Users/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/Items with args () and kwargs {'params': {'Recursive': True, 'Fields': 'DateCreated,Path,ProviderIds,PremiereDate,MediaSources,Video3DFormat,Overview', 'IsMissing': False, 'IsFavorite': True, 'IncludeItemTypes': 'Episode,Movie', 'Limit': 10, 'StartIndex': 0}, 'headers': {'X-Emby-Authorization': 'Emby UserId=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, Client=Flexget, Device=Flexget Plugin, DeviceId=flexget_plugin, Version=3.1.136', 'accept': 'application/json', 'X-Emby-Token': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'}, 'allow_redirects': True, 'verify': False, 'timeout': 30}
2021-09-02 19:19:00 DEBUG    api_emby      tv              Search movie with: {'Recursive': True, 'Fields': 'DateCreated,Path,ProviderIds,PremiereDate,MediaSources,Video3DFormat,Overview', 'IsMissing': False, 'Ids': 'xxxxxx', 'IncludeItemTypes': 'Movie'}
2021-09-02 19:19:00 DEBUG    utils.requests tv              GETing URL http://emby.localhost:8096/emby/Users/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/Items with args () and kwargs {'params': {'Recursive': True, 'Fields': 'DateCreated,Path,ProviderIds,PremiereDate,MediaSources,Video3DFormat,Overview', 'IsMissing': False, 'Ids': 'xxxxxx', 'IncludeItemTypes': 'Movie'}, 'headers': {'X-Emby-Authorization': 'Emby UserId=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, Client=Flexget, Device=Flexget Plugin, DeviceId=flexget_plugin, Version=3.1.136', 'accept': 'application/json', 'X-Emby-Token': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'}, 'allow_redirects': True, 'verify': False, 'timeout': 30}
2021-09-02 19:19:00 DEBUG    utils.requests tv              GETing URL http://emby.localhost:8096/emby/Items/xxxxxx/Ancestors with args () and kwargs {'params': {'userid': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'}, 'headers': {'X-Emby-Authorization': 'Emby UserId=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, Client=Flexget, Device=Flexget Plugin, DeviceId=flexget_plugin, Version=3.1.136', 'accept': 'application/json', 'X-Emby-Token': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'}, 'allow_redirects': True, 'verify': False, 'timeout': 30}
2021-09-02 19:19:00 DEBUG    api_emby      tv              Search Library name list with: {'Recursive': True, 'Fields': 'DateCreated,Path,ProviderIds,PremiereDate,MediaSources,Video3DFormat,Overview', 'IsMissing': False, 'IsHidden': False}
2021-09-02 19:19:00 DEBUG    utils.requests tv              GETing URL http://emby.localhost:8096/emby/Library/MediaFolders with args () and kwargs {'params': {'Recursive': True, 'Fields': 'DateCreated,Path,ProviderIds,PremiereDate,MediaSources,Video3DFormat,Overview', 'IsMissing': False, 'IsHidden': False}, 'headers': {'X-Emby-Authorization': 'Emby UserId=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, Client=Flexget, Device=Flexget Plugin, DeviceId=flexget_plugin, Version=3.1.136', 'accept': 'application/json', 'X-Emby-Token': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'}, 'allow_redirects': True, 'verify': False, 'timeout': 30}
2021-09-02 19:19:01 DEBUG    api_emby      tv              Found movie Reminiscence (2021) in emby server
2021-09-02 19:19:01 DEBUG    api_emby      tv              Search movie with: {'Recursive': True, 'Fields': 'DateCreated,Path,ProviderIds,PremiereDate,MediaSources,Video3DFormat,Overview', 'IsMissing': False, 'Ids': 'xxxxxx', 'IncludeItemTypes': 'Movie'}
2021-09-02 19:19:01 DEBUG    utils.requests tv              GETing URL http://emby.localhost:8096/emby/Users/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/Items with args () and kwargs {'params': {'Recursive': True, 'Fields': 'DateCreated,Path,ProviderIds,PremiereDate,MediaSources,Video3DFormat,Overview', 'IsMissing': False, 'Ids': 'xxxxxx', 'IncludeItemTypes': 'Movie'}, 'headers': {'X-Emby-Authorization': 'Emby UserId=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, Client=Flexget, Device=Flexget Plugin, DeviceId=flexget_plugin, Version=3.1.136', 'accept': 'application/json', 'X-Emby-Token': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'}, 'allow_redirects': True, 'verify': False, 'timeout': 30}
2021-09-02 19:19:01 DEBUG    utils.requests tv              GETing URL http://emby.localhost:8096/emby/Items/xxxxxx/Ancestors with args () and kwargs {'params': {'userid': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'}, 'headers': {'X-Emby-Authorization': 'Emby UserId=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, Client=Flexget, Device=Flexget Plugin, DeviceId=flexget_plugin, Version=3.1.136', 'accept': 'application/json', 'X-Emby-Token': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'}, 'allow_redirects': True, 'verify': False, 'timeout': 30}
2021-09-02 19:19:02 DEBUG    api_emby      tv              Search Library name list with: {'Recursive': True, 'Fields': 'DateCreated,Path,ProviderIds,PremiereDate,MediaSources,Video3DFormat,Overview', 'IsMissing': False, 'IsHidden': False}
2021-09-02 19:19:02 DEBUG    utils.requests tv              GETing URL http://emby.localhost:8096/emby/Library/MediaFolders with args () and kwargs {'params': {'Recursive': True, 'Fields': 'DateCreated,Path,ProviderIds,PremiereDate,MediaSources,Video3DFormat,Overview', 'IsMissing': False, 'IsHidden': False}, 'headers': {'X-Emby-Authorization': 'Emby UserId=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, Client=Flexget, Device=Flexget Plugin, DeviceId=flexget_plugin, Version=3.1.136', 'accept': 'application/json', 'X-Emby-Token': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'}, 'allow_redirects': True, 'verify': False, 'timeout': 30}
2021-09-02 19:19:02 DEBUG    api_emby      tv              Found movie Reminiscence (2021) in emby server
2021-09-02 19:19:02 DEBUG    utils.requests tv              GETing URL http://emby.localhost:8096/emby/Users/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/Items with args () and kwargs {'params': {'Recursive': True, 'Fields': 'DateCreated,Path,ProviderIds,PremiereDate,MediaSources,Video3DFormat,Overview', 'IsMissing': False, 'IsFavorite': True, 'IncludeItemTypes': 'Episode,Movie', 'Limit': 10, 'StartIndex': 10}, 'headers': {'X-Emby-Authorization': 'Emby UserId=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, Client=Flexget, Device=Flexget Plugin, DeviceId=flexget_plugin, Version=3.1.136', 'accept': 'application/json', 'X-Emby-Token': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'}, 'allow_redirects': True, 'verify': False, 'timeout': 30}
2021-09-02 19:19:03 DEBUG    status        tv              Adding new task tv
2021-09-02 19:19:03 DEBUG    utils.requests tv              GETing URL http://emby.localhost:8096/emby/Users/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx with args () and kwargs {'params': {}, 'headers': {'X-Emby-Authorization': 'Emby UserId=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, Client=Flexget, Device=Flexget Plugin, DeviceId=flexget_plugin, Version=3.1.136', 'accept': 'application/json', 'X-Emby-Token': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'}, 'allow_redirects': True, 'verify': False, 'timeout': 30}
2021-09-02 19:19:03 DEBUG    api_emby      tv              Restored emby token from database
2021-09-02 19:19:03 DEBUG    utils.requests tv              GETing URL http://emby.localhost:8096/emby/System/Info with args () and kwargs {'params': {}, 'headers': {'X-Emby-Authorization': 'Emby UserId=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, Client=Flexget, Device=Flexget Plugin, DeviceId=flexget_plugin, Version=3.1.136', 'accept': 'application/json', 'X-Emby-Token': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'}, 'allow_redirects': True, 'verify': False, 'timeout': 30}
2021-09-02 19:19:04 DEBUG    api_emby      tv              Saving emby token to database
2021-09-02 19:19:04 DEBUG    util.simple_persistence tv              setting key token_data value {'host': 'http://emby.localhost:8096', 'username': 'flexget', 'userid': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', 'serverid': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', 'token': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', 'connect_username': '', 'login_type': None}
2021-09-02 19:19:04 DEBUG    series        tv              adding series `Reminiscence (2021)` `reminiscence 2021` into db (on_task_start)
2021-09-02 19:19:04 DEBUG    series        tv              adding series `Reminiscence (2021)` into db (on_task_start)
2021-09-02 19:19:04 DEBUG    series        tv              -> added `<Series(id=1,name=Reminiscence (2021))>`
2021-09-02 19:19:04 DEBUG    series        tv              connecting series `Reminiscence (2021)` to task `tv`
2021-09-02 19:19:04 WARNING  task          tv              Task doesn't have any input plugins, you should add (at least) one!
2021-09-02 19:19:04 DEBUG    backlog       tv              0 entries purged from backlog
2021-09-02 19:19:04 WARNING  details       tv              Task didn't produce any entries. This is likely due to a mis-configured or non-functional input.
2021-09-02 19:19:04 DEBUG    series        tv              series on_task_metainfo took 0.00405446999999981 to parse
2021-09-02 19:19:04 DEBUG    series        tv              processing series took 0.00020732599999995216
2021-09-02 19:19:04 DEBUG    urlrewriter   tv              Checking 0 entries
2021-09-02 19:19:04 VERBOSE  details       tv              Summary - Accepted: 0 (Rejected: 0 Undecided: 0 Failed: 0)
2021-09-02 19:19:04 DEBUG    series        tv              on_task_learn
2021-09-02 19:19:04 DEBUG    util.simple_persistence tv              Flushing simple persistence for task tv to db.
2021-09-02 19:19:04 DEBUG    task          movies          executing movies
2021-09-02 19:19:04 DEBUG    template      movies          Merging template movies into task movies
2021-09-02 19:19:04 DEBUG    status        movies          Adding new task movies
2021-09-02 19:19:04 DEBUG    api_emby      movies          Login to http://emby.localhost:8096 with username flexget and password
2021-09-02 19:19:04 DEBUG    utils.requests movies          POSTing URL http://emby.localhost:8096/emby/Users/AuthenticateByName with args () and kwargs {'data': None, 'json': {'Username': 'flexget', 'Pw': 'flexget'}, 'headers': {'X-Emby-Authorization': 'Emby UserId=, Client=Flexget, Device=Flexget Plugin, DeviceId=flexget_plugin, Version=3.1.136', 'accept': 'application/json'}, 'allow_redirects': True, 'verify': False, 'timeout': 30}
2021-09-02 19:19:04 DEBUG    utils.requests movies          GETing URL http://emby.localhost:8096/emby/System/Info with args () and kwargs {'params': {}, 'headers': {'X-Emby-Authorization': 'Emby UserId=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, Client=Flexget, Device=Flexget Plugin, DeviceId=flexget_plugin, Version=3.1.136', 'accept': 'application/json', 'X-Emby-Token': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'}, 'allow_redirects': True, 'verify': False, 'timeout': 30}
2021-09-02 19:19:04 DEBUG    api_emby      movies          Saving emby token to database
2021-09-02 19:19:04 DEBUG    util.simple_persistence movies          setting key token_data value {'host': 'http://emby.localhost:8096', 'username': 'flexget', 'userid': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', 'serverid': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', 'token': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', 'connect_username': '', 'login_type': 'user'}
2021-09-02 19:19:04 DEBUG    api_emby      movies          List is a favorite list
2021-09-02 19:19:04 DEBUG    api_emby      movies          Search favorite list with: {'Recursive': True, 'Fields': 'DateCreated,Path,ProviderIds,PremiereDate,MediaSources,Video3DFormat,Overview', 'IsMissing': False, 'IncludeItemTypes': 'Episode,Movie', 'IsFavorite': True}
2021-09-02 19:19:04 DEBUG    utils.requests movies          GETing URL http://emby.localhost:8096/emby/Users/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/Items with args () and kwargs {'params': {'Recursive': True, 'Fields': 'DateCreated,Path,ProviderIds,PremiereDate,MediaSources,Video3DFormat,Overview', 'IsMissing': False, 'IncludeItemTypes': 'Episode,Movie', 'IsFavorite': True, 'Limit': 10, 'StartIndex': 0}, 'headers': {'X-Emby-Authorization': 'Emby UserId=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, Client=Flexget, Device=Flexget Plugin, DeviceId=flexget_plugin, Version=3.1.136', 'accept': 'application/json', 'X-Emby-Token': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'}, 'allow_redirects': True, 'verify': False, 'timeout': 30}
2021-09-02 19:19:05 DEBUG    api_emby      movies          Search movie with: {'Recursive': True, 'Fields': 'DateCreated,Path,ProviderIds,PremiereDate,MediaSources,Video3DFormat,Overview', 'IsMissing': False, 'Ids': 'xxxxxx', 'IncludeItemTypes': 'Movie'}
2021-09-02 19:19:05 DEBUG    utils.requests movies          GETing URL http://emby.localhost:8096/emby/Users/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/Items with args () and kwargs {'params': {'Recursive': True, 'Fields': 'DateCreated,Path,ProviderIds,PremiereDate,MediaSources,Video3DFormat,Overview', 'IsMissing': False, 'Ids': 'xxxxxx', 'IncludeItemTypes': 'Movie'}, 'headers': {'X-Emby-Authorization': 'Emby UserId=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, Client=Flexget, Device=Flexget Plugin, DeviceId=flexget_plugin, Version=3.1.136', 'accept': 'application/json', 'X-Emby-Token': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'}, 'allow_redirects': True, 'verify': False, 'timeout': 30}
2021-09-02 19:19:06 DEBUG    utils.requests movies          GETing URL http://emby.localhost:8096/emby/Items/xxxxxx/Ancestors with args () and kwargs {'params': {'userid': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'}, 'headers': {'X-Emby-Authorization': 'Emby UserId=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, Client=Flexget, Device=Flexget Plugin, DeviceId=flexget_plugin, Version=3.1.136', 'accept': 'application/json', 'X-Emby-Token': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'}, 'allow_redirects': True, 'verify': False, 'timeout': 30}
2021-09-02 19:19:06 DEBUG    api_emby      movies          Search Library name list with: {'Recursive': True, 'Fields': 'DateCreated,Path,ProviderIds,PremiereDate,MediaSources,Video3DFormat,Overview', 'IsMissing': False, 'IsHidden': False}
2021-09-02 19:19:06 DEBUG    utils.requests movies          GETing URL http://emby.localhost:8096/emby/Library/MediaFolders with args () and kwargs {'params': {'Recursive': True, 'Fields': 'DateCreated,Path,ProviderIds,PremiereDate,MediaSources,Video3DFormat,Overview', 'IsMissing': False, 'IsHidden': False}, 'headers': {'X-Emby-Authorization': 'Emby UserId=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, Client=Flexget, Device=Flexget Plugin, DeviceId=flexget_plugin, Version=3.1.136', 'accept': 'application/json', 'X-Emby-Token': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'}, 'allow_redirects': True, 'verify': False, 'timeout': 30}
2021-09-02 19:19:06 DEBUG    api_emby      movies          Found movie Reminiscence (2021) in emby server
2021-09-02 19:19:06 DEBUG    api_emby      movies          Search movie with: {'Recursive': True, 'Fields': 'DateCreated,Path,ProviderIds,PremiereDate,MediaSources,Video3DFormat,Overview', 'IsMissing': False, 'Ids': 'xxxxxx', 'IncludeItemTypes': 'Movie'}
2021-09-02 19:19:06 DEBUG    utils.requests movies          GETing URL http://emby.localhost:8096/emby/Users/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/Items with args () and kwargs {'params': {'Recursive': True, 'Fields': 'DateCreated,Path,ProviderIds,PremiereDate,MediaSources,Video3DFormat,Overview', 'IsMissing': False, 'Ids': 'xxxxxx', 'IncludeItemTypes': 'Movie'}, 'headers': {'X-Emby-Authorization': 'Emby UserId=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, Client=Flexget, Device=Flexget Plugin, DeviceId=flexget_plugin, Version=3.1.136', 'accept': 'application/json', 'X-Emby-Token': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'}, 'allow_redirects': True, 'verify': False, 'timeout': 30}
2021-09-02 19:19:07 DEBUG    utils.requests movies          GETing URL http://emby.localhost:8096/emby/Items/xxxxxx/Ancestors with args () and kwargs {'params': {'userid': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'}, 'headers': {'X-Emby-Authorization': 'Emby UserId=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, Client=Flexget, Device=Flexget Plugin, DeviceId=flexget_plugin, Version=3.1.136', 'accept': 'application/json', 'X-Emby-Token': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'}, 'allow_redirects': True, 'verify': False, 'timeout': 30}
2021-09-02 19:19:07 DEBUG    api_emby      movies          Search Library name list with: {'Recursive': True, 'Fields': 'DateCreated,Path,ProviderIds,PremiereDate,MediaSources,Video3DFormat,Overview', 'IsMissing': False, 'IsHidden': False}
2021-09-02 19:19:07 DEBUG    utils.requests movies          GETing URL http://emby.localhost:8096/emby/Library/MediaFolders with args () and kwargs {'params': {'Recursive': True, 'Fields': 'DateCreated,Path,ProviderIds,PremiereDate,MediaSources,Video3DFormat,Overview', 'IsMissing': False, 'IsHidden': False}, 'headers': {'X-Emby-Authorization': 'Emby UserId=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, Client=Flexget, Device=Flexget Plugin, DeviceId=flexget_plugin, Version=3.1.136', 'accept': 'application/json', 'X-Emby-Token': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'}, 'allow_redirects': True, 'verify': False, 'timeout': 30}
2021-09-02 19:19:07 DEBUG    api_emby      movies          Found movie Reminiscence (2021) in emby server
2021-09-02 19:19:07 DEBUG    utils.requests movies          GETing URL http://emby.localhost:8096/emby/Users/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/Items with args () and kwargs {'params': {'Recursive': True, 'Fields': 'DateCreated,Path,ProviderIds,PremiereDate,MediaSources,Video3DFormat,Overview', 'IsMissing': False, 'IncludeItemTypes': 'Episode,Movie', 'IsFavorite': True, 'Limit': 10, 'StartIndex': 10}, 'headers': {'X-Emby-Authorization': 'Emby UserId=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, Client=Flexget, Device=Flexget Plugin, DeviceId=flexget_plugin, Version=3.1.136', 'accept': 'application/json', 'X-Emby-Token': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'}, 'allow_redirects': True, 'verify': False, 'timeout': 30}
2021-09-02 19:19:08 DEBUG    backlog       movies          0 entries purged from backlog
2021-09-02 19:19:08 VERBOSE  details       movies          Produced 2 entries.
2021-09-02 19:19:08 DEBUG    imdb_lookup   movies          No title passed. Lookup for tt3272066
2021-09-02 19:19:08 VERBOSE  imdb_lookup   movies          Parsing imdb for `Reminiscence (2021)`
2021-09-02 19:19:08 DEBUG    utils.requests movies          GETing URL https://www.imdb.com/title/tt3272066/ with args () and kwargs {'allow_redirects': True, 'timeout': 30}
2021-09-02 19:19:10 DEBUG    imdb.utils    movies          No original title found for tt3272066
2021-09-02 19:19:10 DEBUG    imdb_lookup   movies          No title passed. Lookup for tt3272066
2021-09-02 19:19:10 DEBUG    imdb.db       movies          movie `Reminiscence` age 0 expires in 2 days
2021-09-02 19:19:10 VERBOSE  task          movies          ACCEPTED: `Reminiscence (2021)` by accept_all plugin
2021-09-02 19:19:10 VERBOSE  task          movies          ACCEPTED: `Reminiscence (2021)` by accept_all plugin
2021-09-02 19:19:10 DEBUG    urlrewriter   movies          Checking 2 entries
2021-09-02 19:19:10 INFO     download      movies          Would download: Reminiscence (2021)
2021-09-02 19:19:10 DEBUG    download      movies          Successfully retrieved Reminiscence (2021) from http://emby.localhost:8096/emby/Items/xxxxxx/Download?api_key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&mediaSourceId=xxxxxxa
2021-09-02 19:19:10 INFO     download      movies          Would download: Reminiscence (2021)
2021-09-02 19:19:10 DEBUG    download      movies          Successfully retrieved Reminiscence (2021) from http://emby.localhost:8096/emby/Items/xxxxxx/Download?api_key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&mediaSourceId=xxxxxx
2021-09-02 19:19:10 VERBOSE  details       movies          Summary - Accepted: 2 (Rejected: 0 Undecided: 0 Failed: 0)
2021-09-02 19:19:10 INFO     download      movies          Would write `Reminiscence (2021)` to `/movies/`
2021-09-02 19:19:10 INFO     download      movies          Would write `Reminiscence (2021)` to `/movies/`
2021-09-02 19:19:10 DEBUG    seen          movies          Learned 'Reminiscence (2021)' (field: title, local: False)
2021-09-02 19:19:10 DEBUG    seen          movies          Learned 'http://emby.localhost:8096/emby/Items/xxxxxx/Download?api_key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&mediaSourceId=xxxxxxa' (field: url, local: False)
2021-09-02 19:19:10 DEBUG    seen          movies          Learned 'http://emby.localhost:8096/web/index.html#!/item?id=xxxxxx&serverId=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' (field: original_url, local: False)
2021-09-02 19:19:10 DEBUG    seen          movies          Learned 'Reminiscence (2021)' (field: title, local: False)
2021-09-02 19:19:10 DEBUG    seen          movies          Learned 'http://emby.localhost:8096/emby/Items/xxxxxx/Download?api_key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&mediaSourceId=xxxxxx' (field: url, local: False)
2021-09-02 19:19:10 DEBUG    seen          movies          Learned 'http://emby.localhost:8096/web/index.html#!/item?id=xxxxxx&serverId=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' (field: original_url, local: False)
2021-09-02 19:19:10 DEBUG    util.simple_persistence movies          Flushing simple persistence for task movies to db.
2021-09-02 19:19:10 DEBUG    task_queue                    task queue shut down
2021-09-02 19:19:10 INFO     ipc.rpyc                      server has terminated
2021-09-02 19:19:10 INFO     ipc.rpyc                      listener closed
2021-09-02 19:19:10 DEBUG    util.simple_persistence                 Flushing simple persistence for task None to db.
2021-09-02 19:19:10 DEBUG    manager                       Shutting down
2021-09-02 19:19:10 INFO     manager                       Removed test database
2021-09-02 19:19:10 DEBUG    manager                       Removed /flexget/.test-config-lock

```
</details>

### Additional information:

- FlexGet version: 3.1.136
- Python version: 3.6.9
- Installation method: pip
- Using daemon (yes/no): no
- OS and version: Ubuntu 18.04

<!---
In config and debug/crash logs, remember to redact any personal or sensitive information such as passwords, API keys, private URLs and so on.

Please verify that the following data is present before submitting your issue:

- Link to a paste service or paste above the relevant config (preferably full config, including templates if present). Please make sure the paste does not expire, if possible.
- Link to a paste service or paste above debug-level logs of the relevant task/s (use `flexget -L debug execute --tasks <Task_name>`).
- FlexGet version (use `flexget -V` to get it).
- Full Python version, for example `2.7.11` (use `python -V` to get it). 
- Installation method (pip, git install, etc).
- Whether or not you're running FlexGet as a daemon.
- OS and version.
- Attach crash log if one was generated, in addition to the debug-level log. It can be found in the directory with your config file.
--->



Discussion:

Resolving patch:
diff --git a/flexget/components/emby/api_emby.py b/flexget/components/emby/api_emby.py
--- a/flexget/components/emby/api_emby.py
+++ b/flexget/components/emby/api_emby.py
@@ -9,7 +9,7 @@
 from loguru import logger
 from requests.exceptions import HTTPError, RequestException
 
-from flexget.components.emby.emby_util import get_field_map, simplify_text
+from flexget.components.emby.emby_util import get_field_map
 from flexget.entry import Entry
 from flexget.plugin import PluginError
 from flexget.utils import requests
@@ -552,9 +552,9 @@ def set_list_search_args(self, args: dict):
             args['SortOrder'] = self.sort['order']
 
         if not self.types or len(self.types) == 0:
-            args['IncludeItemTypes'] = 'Movie;Episode'
+            args['IncludeItemTypes'] = 'Movie,Episode'
         else:
-            args['IncludeItemTypes'] = ';'.join(self.types)
+            args['IncludeItemTypes'] = ','.join(typ.title() for typ in self.types)
 
     def add(self, entry: Entry):
         """Adds a item to list"""
@@ -776,7 +776,6 @@ def get_items(self):
 
         index = 0
         args['ParentId'] = self.id
-        args['IncludeItemTypes'] = 'Episode,Movie'
         endpoint = EMBY_ENDPOINT_SEARCH.format(userid=self.auth.uid)
         logger.debug('Search library with: {}', args)
 
@@ -891,7 +890,6 @@ def get_items(self):
 
         index = 0
 
-        args['IncludeItemTypes'] = 'Episode,Movie'
         endpoint = EMBY_ENDPOINT_SEARCH.format(userid=self.auth.uid)
         logger.debug('Search root list with: {}', args)
 
@@ -965,7 +963,6 @@ def get_items(self):
 
         index = 0
         args['IsPlayed'] = True
-        args['IncludeItemTypes'] = 'Episode,Movie'
         endpoint = EMBY_ENDPOINT_SEARCH.format(userid=self.auth.uid)
         logger.debug('Search watched list with: {}', args)
 
@@ -1039,7 +1036,6 @@ def get_items(self):
 
         index = 0
         args['IsFavorite'] = True
-        args['IncludeItemTypes'] = 'Episode,Movie'
         endpoint = EMBY_ENDPOINT_SEARCH.format(userid=self.auth.uid)
         logger.debug('Search favorite list with: {}', args)
 
@@ -1161,8 +1157,6 @@ def fill_items(self):
             return
 
         args['ParentId'] = self.id
-        args['IncludeItemTypes'] = 'Episode,Movie'
-
         logger.debug('Search PlayList  with: {}', args)
         endpoint = EMBY_ENDPOINT_SEARCH.format(userid=self.auth.uid)
         items = EmbyApi.resquest_emby(endpoint, self.auth, 'GET', **args)


Test patch: