# StationPlaylist

Type: object

Schema: [StationPlaylist](https://sourcey-azuracast.pages.dev/docs/api/models/stationplaylist/index.md)

allOf:
  Reference: [HasAutoIncrementId](https://sourcey-azuracast.pages.dev/docs/api/models/hasautoincrementid/index.md); Type: object

  Type: object
  
  - `name` (optional)
    Type: string
    
    Example:
    
    ```json
    "Test Playlist"
    ```
  
  - `description` (optional)
    Type: string; nullable
    
    Example:
    
    ```json
    "A playlist containing my favorite songs"
    ```
  
  - `type` (optional)
    Reference: [PlaylistTypes](https://sourcey-azuracast.pages.dev/docs/api/models/playlisttypes/index.md); Type: string
    
    enum: ["default","once_per_x_songs","once_per_x_minutes","once_per_hour","custom"]
  
  - `source` (optional)
    Reference: [PlaylistSources](https://sourcey-azuracast.pages.dev/docs/api/models/playlistsources/index.md); Type: string
    
    enum: ["songs","playlists","remote_url","requests"]
  
  - `order` (optional)
    Reference: [PlaylistOrders](https://sourcey-azuracast.pages.dev/docs/api/models/playlistorders/index.md); Type: string
    
    enum: ["random","shuffle","sequential"]
  
  - `remote_url` (optional)
    Type: string; nullable
    
    Example:
    
    ```json
    "https://remote-url.example.com/stream.mp3"
    ```
  
  - `remote_type` (optional)
    Type: unknown; nullable
    
    Example:
    
    ```json
    "stream"
    ```
    
    oneOf:
      Reference: [PlaylistRemoteTypes](https://sourcey-azuracast.pages.dev/docs/api/models/playlistremotetypes/index.md); Type: string
      
      enum: ["stream","playlist","other"]
  
  - `remote_buffer` (optional)
    Type: integer
    
    The total time (in seconds) that Liquidsoap should buffer remote URL streams.
    
    Example:
    
    ```json
    0
    ```
  
  - `is_enabled` (optional)
    Type: boolean
    
    Example:
    
    ```json
    true
    ```
  
  - `is_jingle` (optional)
    Type: boolean
    
    If yes, do not send jingle metadata to AutoDJ or trigger web hooks.
    
    Example:
    
    ```json
    false
    ```
  
  - `play_per_songs` (optional)
    Type: integer
    
    Example:
    
    ```json
    5
    ```
  
  - `play_per_minutes` (optional)
    Type: integer
    
    Example:
    
    ```json
    120
    ```
  
  - `play_per_hour_minute` (optional)
    Type: integer
    
    Example:
    
    ```json
    15
    ```
  
  - `weight` (optional)
    Type: integer
    
    The relative weight of the playlist. Larger numbers play more often than playlists with lower number weights.
    
    Example:
    
    ```json
    3
    ```
  
  - `include_in_requests` (optional)
    Type: boolean
    
    Example:
    
    ```json
    true
    ```
  
  - `include_in_on_demand` (optional)
    Type: boolean
    
    Whether this playlist's media is included in 'on demand' download/streaming if enabled.
    
    Example:
    
    ```json
    true
    ```
  
  - `backend_options` (optional)
    Type: array
    
    Example:
    
    ```json
    "interrupt,loop_once,single_track,merge"
    ```
    
    Items:
      Type: string
  
  - `avoid_duplicates` (optional)
    Type: boolean
    
    Example:
    
    ```json
    true
    ```
  
  - `preserve_queue_on_restart` (optional)
    Type: boolean
    
    Don't reset this playlist's queue when the station is restarted or its configuration is rewritten.
    
    Example:
    
    ```json
    false
    ```
  
  - `schedule_items` (optional)
    Type: array
    
    Items:
      Type: unknown
  
  - `podcasts` (optional)
    Type: array
    
    Items:
      Type: unknown
  
  - `playlists` (optional)
    Type: array
    
    Items:
      Type: unknown