• 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 Development Client Development Kodi Development Timelord funtion

     
    • 0 Vote(s) - 0 Average

    Timelord funtion

    Vacendak
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2023 Nov
    Reputation: 0
    Country:Germany
    #1
    2023-11-09, 01:30 PM
    Hi all,

    i've really been missing the Timelord-Plugin from E-Who-Shall-Not-Be-Named. This Plugin could change the "Date added" of an Episode or Movie to the "Release Date", so when you add older Movies or TV-Shows, it would not clutter up the New-Episodes/Movie lists. My SQL-Skills are pretty much non-existent, but i managed to figure out how to do it (outside jellyfin, with a stopped server) directly on the sqlite-db:

    UPDATE TypedBaseItems SET PremiereDate = NULL WHERE PremiereDate = "0001-01-01 00:00:00Z";
    UPDATE TypedBaseItems SET DateCreated = PremiereDate WHERE type = "MediaBrowser.Controller.Entities.Movies.Movie" AND PremiereDate NOT NULL;
    UPDATE TypedBaseItems SET DateCreated = PremiereDate WHERE type like "MediaBrowser.Controller.Entities.TV.%" AND PremiereDate NOT NULL;
    VACUUM;

    (the first line: I had about 5% Items without a PremiereDate that where "0001-01-01 00:00:00Z", the rest where NULL, so i assume that this is a mistake from broken Metadata in files etc)

    This works fine for the webui, but the kodi-addon does not pick it up. I assume, that i have to update a timestamp so the kodi-addon notices that an entry was changed...? Can someone with a bit more understanding tell me which one (there are several other Dates beside PremiereDate and DateCreated)...?

    Regards,

    /V
    jimmyjammy
    Offline

    Member

    Posts: 87
    Threads: 0
    Joined: 2023 Jul
    Reputation: 1
    Country:Canada
    #2
    2023-11-09, 04:52 PM
    This is certainly not ideal but I just select the "Watched" checkmark on older Movies/Tv-Shows that I add & refresh the page. This makes them disappear from the New-Episodes/Movie lists on the Home page
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 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