Skip to content

Video playlist plays as audio playlist #5276

@kevgrig

Description

@kevgrig

This issue respects the following points:

  • I have discussed this issue in the Jellyfin forum and/or troubleshooting chat before opening this issue.
  • This issue is not already reported on GitHub (I've searched it).
  • I agree to follow Jellyfin's Code of Conduct.
  • This report addresses only a single issue; If you encounter multiple issues, kindly create separate reports for each one.

Describe the bug

  1. Go to Playlists
  2. Select a video playlist (<PlaylistMediaType>Video</PlaylistMediaType> in playlist.xml)
  3. Select Play All
  4. Playlist plays as an audio playlist

Logs

Caused by PlaybackLauncher.kt checking if any of the playlist items are MediaType.AUDIO:

fun launch(
context: Context,
items: List<BaseItemDto>,
position: Int? = null,
replace: Boolean = false,
itemsPosition: Int = 0,
shuffle: Boolean = false,
) {
val isAudio = items.any { it.mediaType == MediaType.AUDIO }
if (isAudio) {
mediaManager.playNow(context, items, itemsPosition, shuffle)
navigationRepository.navigate(Destinations.nowPlaying)
} else {
val items = if (shuffle) items.shuffled() else items
videoQueueManager.setCurrentVideoQueue(items.toList())
videoQueueManager.setCurrentMediaPosition(itemsPosition)

Application version

0.19.5

Where did you install the app from?

Amazon Appstore

Device information

Amazon Fire TV Stick 4K Max (1st Generation)

Android version

Android 9, Fire OS 7.7.0.8

Jellyfin server version

10.11.5

Other sources

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions