• 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 General Questions Does Jellyfin expose "media added" and "media deleted" events?

     
    • 0 Vote(s) - 0 Average

    Does Jellyfin expose "media added" and "media deleted" events?

    sobosobo
    Offline

    Junior Member

    Posts: 4
    Threads: 2
    Joined: 2024 Dec
    Reputation: 0
    Country:Spain
    #1
    2024-12-29, 03:06 PM
    I want to write a small script which will send weekly digest with changes in my library. I tried ActivityLog API endpoint at first, but discovered that it doesn't contain media-related events (like "New Movie is added to library").

    While it seems like I can retrieve new media entities through going through Items/Latest endpoint, where can I get deleted media then? 

    And additional question is about Activity Log: why Library deletion/addition is not there? Is it some intent behind it?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 16,170
    Threads: 11
    Joined: 2023 Jun
    Reputation: 484
    Country:United States
    #2
    2024-12-29, 05:54 PM
    There is a plugin called "Reports" that would have the info you are looking for. You'd use the "Date Added" column. The plugin can export the reports it generates in the web UI.

    The activity log is intended for user activity. As in logins, failed logins, watch activity, etc.
    Jellyfin 10.11.11 (Docker)
    Debian 13 w/Xanmod amd64v3 LTS kernel
    AMD Ryzen 5500 w/32GB DDR4
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    ZFS Storage pool
        vdev1 - 6x WD Red Pro 6TB CMR in RAIDZ1
        vdev2 - 3x WD Red Pro 18TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    sobosobo
    Offline

    Junior Member

    Posts: 4
    Threads: 2
    Joined: 2024 Dec
    Reputation: 0
    Country:Spain
    #3
    2024-12-29, 07:42 PM
    TheDreadPirate, thanks! I can see added media in Reports, but nothing about deleted items 😥

    I also found that few month ago support for "item deleted" was added to jellyfin-webhook https://github.com/jellyfin/jellyfin-plu...k/pull/285, but webhooks are not very convenient in my case. Do you know any other options?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 16,170
    Threads: 11
    Joined: 2023 Jun
    Reputation: 484
    Country:United States
    #4
    2024-12-29, 09:55 PM
    Nope. Jellyfin does not track media that is no longer present. It only cares about what you currently have.
    Jellyfin 10.11.11 (Docker)
    Debian 13 w/Xanmod amd64v3 LTS kernel
    AMD Ryzen 5500 w/32GB DDR4
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    ZFS Storage pool
        vdev1 - 6x WD Red Pro 6TB CMR in RAIDZ1
        vdev2 - 3x WD Red Pro 18TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    « 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