Giter VIP home page Giter VIP logo

Comments (15)

rainer-geiger avatar rainer-geiger commented on August 20, 2024 1

Yes, I will test it tonight with 10.9.6 and report...

from jellyfin.

rainer-geiger avatar rainer-geiger commented on August 20, 2024 1

Before:

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<Item>
  <Added>05/17/2024 23:36:24</Added>
  <LockData>false</LockData>
  <LocalTitle>80s Weekly</LocalTitle>
  <RunningTime>264</RunningTime>
  <Genres>
    <Genre>Jahrescharts</Genre>
    <Genre>Rock</Genre>
    <Genre>Tophits</Genre>
    <Genre>Blues</Genre>
    <Genre>Pop</Genre>
    <Genre>R&amp;B</Genre>
    <Genre>Other</Genre>
    <Genre>General Hard Rock</Genre>
    <Genre>Pop, Movie</Genre>
    <Genre>Techno</Genre>
    <Genre>Поп</Genre>
    <Genre>Oldies</Genre>
    <Genre>Hard Rock</Genre>
    <Genre>Heavy Metal</Genre>
    <Genre>Retro</Genre>
    <Genre>Dance</Genre>
    <Genre>misc</Genre>
    <Genre>Alternative</Genre>
  </Genres>
  <OwnerUserId>d4b********************************</OwnerUserId>
  <PlaylistItems>
    <PlaylistItem>
      <Path>/media/music/Laura Branigan/Self Control/1. Self Control.mp3</Path>
    </PlaylistItem>
    <PlaylistItem>
      <Path>/media/music/Def Leppard/Pour Some Sugar on Me/2. Pour Some Sugar on Me.mp3</Path>
    </PlaylistItem>
       ...
  </PlaylistItems>
  <Shares />
  <PlaylistMediaType>Audio</PlaylistMediaType>
</Item>

After:

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<Item>
  <Added>05/17/2024 23:36:24</Added>
  <LockData>false</LockData>
  <LocalTitle>80s Weekly</LocalTitle>
  <RunningTime>0</RunningTime>
  <OwnerUserId>d4b********************************</OwnerUserId>
  <Shares />
  <PlaylistMediaType>Audio</PlaylistMediaType>
</Item>

The library /media/music gets mounted by /etc/fstab (secrets redacted):
//10.1.0.100/music /media/music cifs vers=3.0,noperm,iocharset=utf8 0 0

from jellyfin.

jellyfin-bot avatar jellyfin-bot commented on August 20, 2024

Hi, it seems like your issue report has the following item(s) that need to be addressed:

  • You have not provided the ffmpeg log unaltered from the server. Please provide a valid ffmpeg log.

This is an automated message, currently under testing. Please file an issue here if you encounter any problems.

from jellyfin.

Shadowghost avatar Shadowghost commented on August 20, 2024

I am not able to reproduce this.

from jellyfin.

rainer-geiger avatar rainer-geiger commented on August 20, 2024

I have exactly the same problem. Unfortunately I can't say exactly when and how it occurred, but I think it happened after a full media scan after checking the modification date of the files

All XML-playlists in ./config/data/playlists are empty:

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<Item>
  <Added>06/04/2024 11:55:01</Added>
  <LockData>false</LockData>
  <LocalTitle>80s Party Mix</LocalTitle>
  <RunningTime>0</RunningTime>
  <OwnerUserId>b833************************bd90</OwnerUserId>
  <Shares />
  <PlaylistMediaType>Audio</PlaylistMediaType>
</Item>
ls -lah
-rw-r--r--  1 root root  324  6. Jun 21:05 playlist.xml

Nothing found in the logs for this timestamp...

I'm on Docker with version 10.9.4 now. I had the same problem with 10.9.3 and manually restored the XML files from a backup.

from jellyfin.

Shadowghost avatar Shadowghost commented on August 20, 2024

Can you please check on 10.9.6?

from jellyfin.

Shadowghost avatar Shadowghost commented on August 20, 2024

It would also be helpful to get the playlist.xml (with all the paths in it) from before it got deleted if anyone has one.

from jellyfin.

rainer-geiger avatar rainer-geiger commented on August 20, 2024

I just tested it with version 10.9.6 and previously restored my XML-playlists from my backup. After a full media scan, the playlists are definitely still there. I will keep an eye on this over the next few days.

from jellyfin.

jedthe3rd avatar jedthe3rd commented on August 20, 2024

It would also be helpful to get the playlist.xml (with all the paths in it) from before it got deleted if anyone has one.

So for me the playlist xml files are not deleted. Just that the playlist itself is removed from the databases I guess and then any playlist xml files are not being readded. So maybe it is failing at re-adding the playlist xml files. If that is how it works in the code.

Log of me reproducing the issue -

[2024-06-07 18:52:55.470 -06:00] [INF] [83] Jellyfin.Drawing.ImageProcessor: Completed creation of image collage and saved to "C:\ProgramData\Jellyfin\Server\cache\temp\6b9a8206cd0b41f898f3f211568fb2b2.png"
[2024-06-07 18:52:55.475 -06:00] [DBG] [83] MediaBrowser.Providers.Manager.ProviderManager: Saving image to "C:\ProgramData\Jellyfin\Server\metadata\library\70\7088070fb6292b39a4b17790f06c3721\poster.png"
[2024-06-07 18:52:55.482 -06:00] [DBG] [140] MediaBrowser.Providers.Manager.ProviderManager: Saving "C:\ProgramData\Jellyfin\Server\data\playlists\4 Non Blondes" to "Emby Xml"
[2024-06-07 18:52:55.484 -06:00] [DBG] [129] Jellyfin.Drawing.ImageProcessor: Getting image size for item "Playlist" "C:\ProgramData\Jellyfin\Server\metadata\library\70\7088070fb6292b39a4b17790f06c3721\poster.png"
[2024-06-07 18:52:55.488 -06:00] [DBG] [140] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: "CustomAuthentication" was successfully authenticated.
[2024-06-07 18:52:55.488 -06:00] [DBG] [83] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: "CustomAuthentication" was successfully authenticated.
[2024-06-07 18:52:55.489 -06:00] [DBG] [140] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: "CustomAuthentication" was successfully authenticated.
[2024-06-07 18:52:55.489 -06:00] [DBG] [83] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: "CustomAuthentication" was successfully authenticated.
[2024-06-07 18:52:55.490 -06:00] [DBG] [140] MediaBrowser.Controller.Entities.BaseItem: "Playlist": Query requires post-filtering due to LinkedChildren.
[2024-06-07 18:52:55.492 -06:00] [DBG] [140] MediaBrowser.Controller.Entities.BaseItem: "TV Shows" has no parental rating set.
[2024-06-07 18:52:55.493 -06:00] [DBG] [129] Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider: "OnLibraryManagerItemUpdated": Refreshing Item "4 Non Blondes"
....

[2024-06-07 18:54:27.726 -06:00] [DBG] [10] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing "Scan Media Library"

....

[2024-06-07 18:54:30.393 -06:00] [DBG] [101] MediaBrowser.Controller.Entities.BaseItem: Removed item: "C:\ProgramData\Jellyfin\Server\data\playlists\4 Non Blondes"
[2024-06-07 18:54:30.394 -06:00] [INF] [101] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Playlist", Name: "4 Non Blondes", Path: "C:\ProgramData\Jellyfin\Server\data\playlists\4 Non Blondes", Id: 7088070f-b629-2b39-a4b1-7790f06c3721
[2024-06-07 18:54:30.396 -06:00] [DBG] [101] Emby.Server.Implementations.Library.LibraryManager: Deleting metadata path, Type: "Playlist", Name: "4 Non Blondes", Path: "C:\ProgramData\Jellyfin\Server\metadata\library\70\7088070fb6292b39a4b17790f06c3721", Id: 7088070f-b629-2b39-a4b1-7790f06c3721
[2024-06-07 18:54:30.399 -06:00] [DBG] [101] Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider: "OnLibraryManagerItemRemoved": Refreshing "4 Non Blondes" [0]
[2024-06-07 18:54:30.401 -06:00] [DBG] [101] Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider: Given input is not in ["Series", "Season", "Episode"]: "MediaBrowser.Controller.Playlists.Playlist"
[2024-06-07 18:54:30.402 -06:00] [DBG] [101] Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider: Skip: "Update not enabled".

...

[2024-06-07 19:04:23.110 -06:00] [DBG] [172] MediaBrowser.Providers.Folders.FolderMetadataService: Running "FolderImageProvider" for "C:\ProgramData\Jellyfin\Server\data\playlists\4 Non Blondes"

...

[2024-06-07 19:04:23.142 -06:00] [DBG] [172] Jellyfin.Plugin.Tvdb.Providers.TvdbMissingEpisodeProvider: "OnLibraryManagerItemUpdated": Refreshing Item "4 Non Blondes" [None, MetadataImport]

...

[2024-06-07 09:46:43.391 -06:00] [INF] [85] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Scan Media Library" Completed after 12 minute(s) and 24 seconds

XML of the generated playlist I created when reproducing the issue -

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<Item>
  <Added>06/07/2024 18:52:55</Added>
  <LockData>false</LockData>
  <LocalTitle>4 Non Blondes</LocalTitle>
  <RunningTime>123</RunningTime>
  <Genres>
    <Genre>1990S</Genre>
  </Genres>
  <Studios>
    <Studio>Atlantic</Studio>
    <Studio>Interscope Records</Studio>
  </Studios>
  <OwnerUserId>redacted</OwnerUserId>
  <PlaylistItems>
    <PlaylistItem>
      <Path>\\redacted\4 Non Blondes\Bigger, Better, Faster, More!\01 Train.flac</Path>
    </PlaylistItem>
    <PlaylistItem>
      <Path>\\redacted\4 Non Blondes\Bigger, Better, Faster, More!\01 Train.mp3</Path>
    </PlaylistItem>
    <PlaylistItem>
      <Path>\\redacted\4 Non Blondes\Bigger, Better, Faster, More!\01 Train (1).flac</Path>
    </PlaylistItem>
    <PlaylistItem>
      <Path>\\redacted\4 Non Blondes\Bigger, Better, Faster, More!\02 Superfly.mp3</Path>
    </PlaylistItem>
    <PlaylistItem>
      <Path>\\redacted\4 Non Blondes\Bigger, Better, Faster, More!\02 Superfly.flac</Path>
    </PlaylistItem>
    <PlaylistItem>
      <Path>\\redacted\4 Non Blondes\Bigger, Better, Faster, More!\02 Superfly (1).flac</Path>
    </PlaylistItem>
    <PlaylistItem>
      <Path>\\redacted\4 Non Blondes\Bigger, Better, Faster, More!\03 What's Up.mp3</Path>
    </PlaylistItem>
    <PlaylistItem>
      <Path>\\redacted\4 Non Blondes\Bigger, Better, Faster, More!\03 What’s Up (1).flac</Path>
    </PlaylistItem>
    <PlaylistItem>
      <Path>\\redacted\4 Non Blondes\Bigger, Better, Faster, More!\03 What’s Up.flac</Path>
    </PlaylistItem>
    <PlaylistItem>
      <Path>\\redacted\4 Non Blondes\Bigger, Better, Faster, More!\04 Pleasantly Blue.flac</Path>
    </PlaylistItem>
    <PlaylistItem>
      <Path>\\redacted\4 Non Blondes\Bigger, Better, Faster, More!\04 Pleasantly Blue.mp3</Path>
    </PlaylistItem>
    <PlaylistItem>
      <Path>\\redacted\4 Non Blondes\Bigger, Better, Faster, More!\04 Pleasantly Blue (1).flac</Path>
    </PlaylistItem>
    <PlaylistItem>
      <Path>\\redacted\4 Non Blondes\Bigger, Better, Faster, More!\05 Morphine &amp; Chocolate (1).flac</Path>
    </PlaylistItem>
    <PlaylistItem>
      <Path>\\redacted\4 Non Blondes\Bigger, Better, Faster, More!\05 Morphine &amp; Chocolate.flac</Path>
    </PlaylistItem>
    <PlaylistItem>
      <Path>\\redacted\4 Non Blondes\Bigger, Better, Faster, More!\05 Morphine &amp; Chocolate.mp3</Path>
    </PlaylistItem>
    <PlaylistItem>
      <Path>\\redacted\4 Non Blondes\Bigger, Better, Faster, More!\06 Spaceman.mp3</Path>
    </PlaylistItem>
    <PlaylistItem>
      <Path>\\redacted\4 Non Blondes\Bigger, Better, Faster, More!\06 Spaceman.flac</Path>
    </PlaylistItem>
    <PlaylistItem>
      <Path>\\redacted\4 Non Blondes\Bigger, Better, Faster, More!\06 Spaceman (1).flac</Path>
    </PlaylistItem>
    <PlaylistItem>
      <Path>\\redacted\4 Non Blondes\Bigger, Better, Faster, More!\07 Old Mr. Heffer (1).flac</Path>
    </PlaylistItem>
    <PlaylistItem>
      <Path>\\redacted\4 Non Blondes\Bigger, Better, Faster, More!\07 Old Mr. Heffer.flac</Path>
    </PlaylistItem>
    <PlaylistItem>
      <Path>\\redacted\4 Non Blondes\Bigger, Better, Faster, More!\07 Old Mr. Heffer.mp3</Path>
    </PlaylistItem>
    <PlaylistItem>
      <Path>\\redacted\4 Non Blondes\Bigger, Better, Faster, More!\08 Calling All the People.flac</Path>
    </PlaylistItem>
    <PlaylistItem>
      <Path>\\redacted\4 Non Blondes\Bigger, Better, Faster, More!\08 Calling All the People.mp3</Path>
    </PlaylistItem>
    <PlaylistItem>
      <Path>\\redacted\4 Non Blondes\Bigger, Better, Faster, More!\08 Calling All the People (1).flac</Path>
    </PlaylistItem>
    <PlaylistItem>
      <Path>\\redacted\4 Non Blondes\Bigger, Better, Faster, More!\09 Dear Mr. President.mp3</Path>
    </PlaylistItem>
    <PlaylistItem>
      <Path>\\redacted\4 Non Blondes\Bigger, Better, Faster, More!\09 Dear Mr. President.flac</Path>
    </PlaylistItem>
    <PlaylistItem>
      <Path>\\redacted\4 Non Blondes\Bigger, Better, Faster, More!\09 Dear Mr. President (1).flac</Path>
    </PlaylistItem>
    <PlaylistItem>
      <Path>\\redacted\4 Non Blondes\Bigger, Better, Faster, More!\10 Drifting.flac</Path>
    </PlaylistItem>
    <PlaylistItem>
      <Path>\\redacted\4 Non Blondes\Bigger, Better, Faster, More!\10 Drifting.mp3</Path>
    </PlaylistItem>
    <PlaylistItem>
      <Path>\\redacted\4 Non Blondes\Bigger, Better, Faster, More!\10 Drifting (1).flac</Path>
    </PlaylistItem>
    <PlaylistItem>
      <Path>\\redacted\4 Non Blondes\Bigger, Better, Faster, More!\11 No Place Like Home (1).flac</Path>
    </PlaylistItem>
    <PlaylistItem>
      <Path>\\redacted\4 Non Blondes\Bigger, Better, Faster, More!\11 No Place Like Home.mp3</Path>
    </PlaylistItem>
    <PlaylistItem>
      <Path>\\redacted\4 Non Blondes\Bigger, Better, Faster, More!\11 No Place Like Home.flac</Path>
    </PlaylistItem>
  </PlaylistItems>
  <Shares />
  <PlaylistMediaType>Audio</PlaylistMediaType>
</Item>

I had no playlists before 10.9.z

from jellyfin.

jedthe3rd avatar jedthe3rd commented on August 20, 2024

I am going to test removing all playlists in the data/playlists folder and running a media scan. Creating a playlist and rerunning the media scan.

Edit:
Same result

from jellyfin.

4EverChaos avatar 4EverChaos commented on August 20, 2024

I have the same issue that playlists are empty since 10.9.6, my playlists are .m3u files automatically created by MusicBee. A repeated scan of the library, playlist or updating the .m3u files, are not able to fill the playlists for Jellyfin again. All of that was able to help previously if it had problems.

from jellyfin.

Shadowghost avatar Shadowghost commented on August 20, 2024

Are all of you running Jellyfin on windows?

from jellyfin.

4EverChaos avatar 4EverChaos commented on August 20, 2024

My Jellyfin instance is running on Ubuntu 22.04.4

from jellyfin.

wioo avatar wioo commented on August 20, 2024

I have the same issue that playlists are empty since 10.9.6, my playlists are .m3u files automatically created by MusicBee. A repeated scan of the library, playlist or updating the .m3u files, are not able to fill the playlists for Jellyfin again. All of that was able to help previously if it had problems.

Exactly my issue. After I rsynced my music and playlists from my computer to server, playlists were empty.
10.9.6 docker on linux

Temp solution https://forum.jellyfin.org/t-importing-m3u-playlists?pid=26312#pid26312

To quote myself

This is really strange. All of a sudden all my playlists were empty. I refreshed metadata multiple times. It did nothing. Also debug logs weren't of any help.
Thanks to @Curve5523, his solution works. You have to go to each playlist and under "edit metadata" tick "lock this item...", then "refresh metadata -> replace all metadata". This is really weird bug.

from jellyfin.

Shadowghost avatar Shadowghost commented on August 20, 2024

Possible fix for external (non-Jellyfin-created) playlists: #12053

from jellyfin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.