• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting SOLVED: Strange library issue

    Pages (2): 1 2 Next »

     
    • 0 Vote(s) - 0 Average

    SOLVED: Strange library issue

    ghost library?
    Backwoods Genius
    Offline

    Junior Member

    Posts: 18
    Threads: 3
    Joined: 2024 Aug
    Reputation: 0
    Country:United States
    #1
    2024-10-02, 11:34 AM
    I'll try to give as much detail as possible. I'm stumped and could use some ideas.

    1) Had a bunch of old Hanna-Barbera cartoons I got as one huge bundle.
    2) Renamed most of the files because, as usual, the original file names weren't media server friendly.
    3) Could not get Jellyfin to display things correctly despite repeatedly identifying individual series, adding tvdbids to file names, etc.
    4) The first 8-10 episodes of nearly every series came with the same set of titles based on a specific Hanna-Barbera collection. This happened even when the series information was displayed correctly. The later episodes would also be displayed correctly.
    5) Assuming a cache issue, I manually deleted all the cache json files in the /omdb directory. Restarted both client and server.
    6) Still had the same issue. The only way to fix it was to manually identify each episode. That's not practical with a thousand episodes.
    7) Removed the library. Restarted both client and server.
    8- Even with the library deleted, it still showed up in the client. I could still access the shows.
    9) Renamed the folder to break the file path. Restarted both client and server. I still have the library showing in the client and can still access four of the series even though the path in the metadata is wrong. Interestingly, the series I can access are ones that weren't in the aforementioned bundle.

    I'm assuming I still have a cache issue. But I'm not clear what other caches there are that might be relevant. The library is not set to favor embedded names, so correct file names and nfos should display correct titles. Not to mention the fact that the client shouldn't display a library that isn't in the server. I did look at the console, the server is not monitoring that directory like it is for the other libraries. So I don't understand how the client is displaying a library that doesn't exist and is playing episodes with the wrong file path.
    Go to solution
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-10-02, 01:07 PM (This post was last modified: 2024-10-02, 01:07 PM by TheDreadPirate.)
    Can you provide example file and folder names?

    And share your full jellyfin log via pastebin?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Backwoods Genius
    Offline

    Junior Member

    Posts: 18
    Threads: 3
    Joined: 2024 Aug
    Reputation: 0
    Country:United States
    #3
    2024-10-03, 11:41 AM
    (2024-10-02, 01:07 PM)TheDreadPirate Wrote: Can you provide example file and folder names?

    And share your full jellyfin log via pastebin?

    Code:
      Directory: M:\Anim ShowsBak\Wheelie & The Chopper Bunch

    Mode                LastWriteTime        Length Name
    ----                -------------        ------ ----
    -a---          9/25/2024    10:09        512596 backdrop.jpg
    -a---          9/25/2024    10:09          37234 banner.jpg
    -a---          9/25/2024    10:09        433363 folder.jpg
    -a---          9/25/2024    10:09        104686 landscape.jpg
    -a---          9/25/2024    10:09          16472 S01E01 Get A Doctor Thumb.jpg
    -a---          9/29/2024    09:34          16472 S01E01 Get A Doctor-thumb.jpg
    -a---          9/19/2024    01:21      54331678 S01E01 Get A Doctor.avi
    -a---          10/2/2024    05:01          3042 S01E01 Get A Doctor.nfo
    -a---          9/25/2024    10:09          15004 S01E02 A Day At The Beach Thumb.jpg
    -a---          9/29/2024    09:34          86836 S01E02 A Day At The Beach-thumb.jpg
    -a---          9/19/2024    01:00      54435468 S01E02 A Day At The Beach.avi
    -a---          10/2/2024    05:02          3073 S01E02 A Day At The Beach.nfo
    -a---          9/25/2024    10:10          17811 S01E03 Ghost Riders Thumb.jpg
    -a---          9/29/2024    09:34          88543 S01E03 Ghost Riders-thumb.jpg
    -a---          9/19/2024    01:21      57173002 S01E03 Ghost Riders.avi
    -a---          10/2/2024    05:02          3134 S01E03 Ghost Riders.nfo
    -a---          9/25/2024    10:10          18260 S01E04 Double Cross Country Thumb.jpg
    -a---          9/29/2024    09:34          18260 S01E04 Double Cross Country-thumb.jpg
    -a---          9/18/2024    21:40      52544684 S01E04 Double Cross Country.avi

    Which log? I see several I could  share on my M drive and there's at least one in the exe directory on my C drive.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-10-03, 01:11 PM
    C:\ProgramData\Jellyfin\Server\log. There should be a file named log_YYYYMMDD.log in that directory.

    Regarding your library. Try adding a "Season 01" folder in that directory and moving your files in there. Except for tvshow.nfo and any "season##" posters.

    Also add the TMDB ID to the folder name

    Code:
    Wheelie & The Chopper Bunch [tmdbid-11008]

    Then refresh metadata and select "replace all metadata".
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    theguymadmax
    Offline

    Community Moderator

    Posts: 1,051
    Threads: 0
    Joined: 2024 Jun
    Reputation: 57
    #5
    2024-10-03, 03:57 PM
    This sounds similar to an issue I’ve encountered before. I managed to remove the ghost library by editing the database. Here’s how:
    1. Download SQLite Browser.
    2. Shut down the server.
    3. Open library.db (always back up first!). Locations vary:
      • /var/lib/jellyfin/data/library.db
      • X:\ProgramData\Jellyfin\Server\data\library.db
      • X:\Users\Username\AppData\Local\jellyfin\data\library.db
    4. Choose the “Browse Data” tab, right under that is the option to choose table type, select “TypedBaseItems”
    5. Enter “MediaBrowser.Controller.Entities.CollectionFolder” in the Filter in any column field
    6. Find the entry you want to get rid of. Right-click on the number and select delete record.
    7. Click the “Write Changes” button, then close the database and restart the server.
    1
    Backwoods Genius
    Offline

    Junior Member

    Posts: 18
    Threads: 3
    Joined: 2024 Aug
    Reputation: 0
    Country:United States
    #6
    2024-10-03, 04:27 PM
    (2024-10-03, 03:57 PM)theguymadmax Wrote: This sounds similar to an issue I’ve encountered before. I managed to remove the ghost library by editing the database. Here’s how:
    1. Download SQLite Browser.
    2. Shut down the server.
    3. Open library.db (always back up first!). Locations vary:
      • /var/lib/jellyfin/data/library.db
      • X:\ProgramData\Jellyfin\Server\data\library.db
      • X:\Users\Username\AppData\Local\jellyfin\data\library.db
    4. Choose the “Browse Data” tab, right under that is the option to choose table type, select “TypedBaseItems”
    5. Enter “MediaBrowser.Controller.Entities.CollectionFolder” in the Filter in any column field
    6. Find the entry you want to get rid of. Right-click on the number and select delete record.
    7. Click the “Write Changes” button, then close the database and restart the server.
    Thanks! That's a concise, detailed walkthrough. And it got rid of the ghost library. Found the problem in a third location, the two paths you gave didn't show all the libraries for some reason. Now I'm really curious what else I can do with that tool. I never would have figured that out on my own.

    Still have to go and put everything back in place to see if it fixed the problem with the client displaying the wrong names.
    Backwoods Genius
    Offline

    Junior Member

    Posts: 18
    Threads: 3
    Joined: 2024 Aug
    Reputation: 0
    Country:United States
    #7
    2024-10-03, 05:33 PM
    Still having the issue with some episode names being displayed incorrectly. This happens across multiple series. And the wrong names are ALWAYS the same- ie, "Yogi's Great Escape" is the first episode on multiple series. I don't even have anything with Yogi in it. So it has to be pulling that from online somehow. But how could it get some episodes wrong while others are right? And always the same episodes regardless what series it is looking for?

       

    But the files are named correctly per TVDB

       


    Refreshing/replacing metadata hasn't fixed it.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2024-10-03, 05:45 PM
    Which folder is your library pointed to? The entire M drive? Or M:\Anim Shows?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Backwoods Genius
    Offline

    Junior Member

    Posts: 18
    Threads: 3
    Joined: 2024 Aug
    Reputation: 0
    Country:United States
    #9
    2024-10-04, 07:31 AM
    (2024-10-03, 05:45 PM)TheDreadPirate Wrote: Which folder is your library pointed to?  The entire M drive?  Or M:\Anim Shows?

    M:\Anim Shows
    Backwoods Genius
    Offline

    Junior Member

    Posts: 18
    Threads: 3
    Joined: 2024 Aug
    Reputation: 0
    Country:United States
    #10
    2024-10-04, 10:22 AM
    Finally got it all sorted. Used the SQL browser to go in and remove the entries that were overriding the real info. Took a few rounds to identify the problem titles, but wasn't that difficult. Now all the episodes have the correct titles and info, no ghost info anywhere.
    Pages (2): 1 2 Next »

    « Next Oldest | Next Newest »

    Users browsing this thread: 2 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode