Exporting a Movie List from Jellyfin

From MemoryLeak
Jump to navigation Jump to search

Updating the Jellyfin movie spreadsheet

Step 1: Export the movie list from Jellyfin

Use the Jellyfin API to grab a raw list of metadata:

curl -H 'Authorization: MediaBrowser Token="YOUR_API_KEY"' \
  'https://jellyfin.mille.cam/Items?IncludeItemTypes=Movie&Recursive=true&CollapseBoxSetItems=false&Fields=ProductionYear,OfficialRating,CommunityRating' \
  -o movies.json

Step 2: Give the file to Claude

Attach movies.json to a new chat and paste this prompt:

I need to update my Jellyfin movie spreadsheet. I'll export the movie list from Jellyfin and attach the JSON file here.

From it, build an .xlsx file with these columns: Year, Title, Content Rating (Jellyfin's "Parental Rating"/OfficialRating field), Audience Rating (Jellyfin's "Community Rating"/CommunityRating field).

Rewrite the title "Those Magnificent Men in Their Flying Machines or How I Flew from London to Paris in 25 Hours 11 Minutes" to "Those Magnificent Men in Their Flying Machines"

Rewrite the title "¡Three Amigos!" to "Three Amigos"

Rewrite any title starting with "The", "A", or "An" so the article moves to the end, comma-separated — e.g. "The Addams Family" → "Addams Family, The". Sort the final list alphabetically by the rewritten title.

Format as a proper spreadsheet: bold header row, frozen header, autofit column widths, filter dropdowns enabled.

Font: Calibri 11pt. Center the headings and data in columns A, C & D.

Step 3: Import into Google Sheets

Claude will build a spreadsheet artifact that can be imported into Google Sheets.