• 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 Bulk edit Parental Rating

     
    • 0 Vote(s) - 0 Average

    Bulk edit Parental Rating

    Bulk edit Parental Rating entries with contry code
    Finios
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2023 Jun
    Reputation: 0
    Country:Germany
    #1
    2024-05-19, 10:53 AM
    With release 10.9.0 the parental rating contry code where removed. I found the csv files on github, where the entries where remove in february 2023. 
    I used the parental rating entries with contry code if there where no official rating from the rating system organisations (like videos from YouTube) and locked the depending episode or movie so a scan would not overrite it.
    I also have checked the metadata savers setting Nfo in every of my libraries, so I can't edit all entries by manipulating the sqlite database, because the old rating is safed in nfo files and won't be overriten. If I add the movies or episodes to a new server it will scan the nfo file and will use the there safed entry.

    My questions are:
    • Can I add a custom csv file to my existing server, so I can still chose the rating entries with contry code in the dropdown menues? 
    • Or does anyone have a script or know how to bulk edit every parental rating entry with contry code in database and nfo files?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-05-19, 06:47 PM
    You could edit the NFOs. If you are on linux you can use a loop and the sed command to bulk edit files.

    Otherwise, we don't recommend editing the database. Thats a recipe for disaster. And I can't find any CSVs that you could edit in a compiled jellyfin-web.
    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]
    Finios
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2023 Jun
    Reputation: 0
    Country:Germany
    #3
    2024-05-20, 06:57 AM
    Thank you.
    With the following code I now have replaced every contry code in every nfo file in the current folder and all subfolders.

    Code:
    find . -type f -name "*.nfo" -print0 | xargs -0 sed -i --expression='s_<mpaa>DE-\(.*\)</mpaa>_<mpaa>FSK \1</mpaa>_g'
    1
    taylorcurran
    Offline

    Junior Member

    Posts: 1
    Threads: 0
    Joined: 2024 May
    Reputation: 0
    Country:United States
    #4
    2024-05-20, 09:17 AM
    you can try this  xargs -0 sed -i --expression='s_<mpaa>DE-\(.*\)</mpaa>_<mpaa>FSK \1</mpaa>_g' to the code iq test online
    Duvel
    Offline

    Member

    Posts: 69
    Threads: 9
    Joined: 2023 Jul
    Reputation: 3
    Country:Belgium
    #5
    2024-10-15, 12:01 PM (This post was last modified: 2024-10-15, 12:04 PM by Duvel. Edited 3 times in total.)
    Everything related to parental control in Jellyfin is a nightmare, at least for my case : non-US user having >50% of non-US stuff.

    My children complain non stop that they can't see OBVIOUS CHILDREN stuff on their account and I have to edit the custom parental rating so they can get it. But I fully understand that the root cause of this isnt Jellyfin, but the myriad of different ratings per country and metadata sites being incorrect.

    Indeed a bulk edit system would be a lot more simple to manage
    Another solution might work for some people: defining a rating on a whole library and have all stuff inside inheriting it.

    Additionally this is also the work of Radarr/Sonarr teams to put parental rate rewriting rules in place, as well as Bulk edit facilities, but they dont want to.
    « 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