Facebook
Twitter
Pinterest
Tumblr
GitHub
RSS
  • DEV Home
  • Documentation
  • Reference
  • Download
  • Documentation
  • REST API Access
  • API Workflow
  • Items by Name
Search Results for

    Show / Hide Table of Contents
    • Documentation
      • REST API Access
        • Authentication
          • User Authentication
          • API Key Authentication
        • API Workflow
          • Locating the Server
          • Emby Connect
          • Browsing the Library
          • Latest Items
          • Item Information
          • Item Types
          • Images
          • Items by Name
          • Web Socket
          • Remote Control
          • Live TV
          • Playlists
          • Parental Control
          • Filtering
          • Sync
        • Media Streaming
          • Playback Guidelines
          • Audio Streaming
          • Video Streaming
          • HTTP Live Streaming
          • Subtitles
          • Playback Check-ins
      • Server Plugins
        • Plugin Development
          • Automatic Plugin Type Discovery
          • Dependency Injection
          • API Endpoint Creation
          • Other Interfaces
          • Getting Your Plugin Included in the Emby Catalog
          • Development Policy
        • Plugin UI
          • Simple UI
          • Localization
          • Features
            • Basic Input
            • Selection Input
            • Radio Input
            • Lists
            • Element States
            • Input Constraints
            • Nested Objects
            • Conditions
            • Validation

    Items by Name

    Media items will contain lists of related items, such as Artists, Genres, Persons and Studios. These related items are referred to as "items by name" and can be retrieved by their name. The endpoints to retrieve a single item by name are:

    • /Artists/{Name}

    • /Genres/{Name}

    • /GameGenres/{Name}

    • /MusicGenres/{Name}

    Note

    All '?', '&' and '/' characters must be replaced by dashes '-'

    For example, you have an audio file with Akon as the artist. You want to allow the user to click on Akon and see artist information. To do this, use the following:

    /Artists/Akon?userId=xxx
    

    This will return an item with identical structure to normal library items. UserId is optional, and if included, will include user data such as like/dislike/favorite statuses. These item can also have images.

    Images

    Images can be retrieved in the same fashion as media items using the object Id's.

    Querying for items by name

    In addition to individual retrieval, there are querying endpoints that will return lists of these items.

    • /Artists

    • /Artists/AlbumArtists

    • /GameGenres

    • /Genres

    • /MusicGenres

    • /Persons

    • /Studios

    These can be retrieved from the entire library, or limited to a specific folder, or limited to specific item types. For example, the following query will return all movie genres within a user's library:

    /Genres?IncludeItemTypes=Movie&Recursive=true&userId=xxx
    

    As with media item querying, these endpoints also support paging, filtering, sorting and configurable output fields. See the build-in documentation for details.

    Item Counts

    Each artist, genre, studio, person, etc, will have the following additional properties available, to indicate how many items in the library they apply to:

    • TotalCount
    • AdultVideoCount
    • MovieCount
    • SeriesCount
    • EpisodeCount
    • GameCount
    • TrailerCount
    • SongCount
    • AlbumCount
    • MusicVideoCount
    SDK
    On this Page
    • Images
    • Querying for items by name
    • Item Counts
    Back to Top Copyright 2022 © EMBY LLC. Please see our terms of use and privacy policy.