Exporting a Movie List from Jellyfin: Difference between revisions
Jump to navigation
Jump to search
Created page with "#Use the Jellyfin API to grab a raw list of metadata <pre>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</pre> # Copy the resulting data and paste it into Claude with this prompt: I need to update my Jellyfin movie spreadsheet. I'll export the movie list from Jellyfin and attach the J..." |
mNo edit summary |
||
| Line 1: | Line 1: | ||
== Updating the Jellyfin movie spreadsheet == | |||
< | === Step 1: Export the movie list from Jellyfin === | ||
Use the Jellyfin API to grab a raw list of metadata: | |||
<syntaxhighlight lang="bash"> | |||
curl -H 'Authorization: MediaBrowser Token="YOUR_API_KEY"' \ | |||
'https://jellyfin.mille.cam/Items?IncludeItemTypes=Movie&Recursive=true&CollapseBoxSetItems=false&Fields=ProductionYear,OfficialRating,CommunityRating' \ | 'https://jellyfin.mille.cam/Items?IncludeItemTypes=Movie&Recursive=true&CollapseBoxSetItems=false&Fields=ProductionYear,OfficialRating,CommunityRating' \ | ||
-o movies.json</ | -o movies.json | ||
</syntaxhighlight> | |||
=== Step 2: Give the file to Claude === | |||
Attach <code>movies.json</code> to a new chat and paste this prompt: | |||
<pre> | |||
I need to update my Jellyfin movie spreadsheet. I'll export the movie list from Jellyfin and attach the JSON file here. | 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). | 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 "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 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. | 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. | Format as a proper spreadsheet: bold header row, frozen header, autofit column widths, filter dropdowns enabled. | ||
</pre> | |||
=== Step 3: Import into Google Sheets === | |||
Claude will build a spreadsheet artifact that can be imported into Google Sheets. | |||
Revision as of 22:42, 8 October 2026
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.
Step 3: Import into Google Sheets
Claude will build a spreadsheet artifact that can be imported into Google Sheets.