• 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?

    b0g3r
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    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: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    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.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]
    b0g3r
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    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: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    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.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]
    « 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