Pulling Newsletter Text From Jellyfin: Difference between revisions

From MemoryLeak
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
#Open a terminal window
#Open a terminal window
#CD to Users/kmilleca/Movies/scripts
#CD to Users/kmilleca/Movies/scripts
#Run the script<syntaxhighlight lang="bash">python3 newsletter_movies.py</syntaxhighlight>
#Run these scripts in Terminal, one at a time:<syntaxhighlight lang="bash">
#Look for new_movies.html will be created in the scripts directory.
export JELLYFIN_API_KEY='your_jellyfin_key'
 
export ANTHROPIC_API_KEY='your_anthropic_key'
 
python3 newsletter_movies.py</syntaxhighlight>
#Open "Movie Newsletter Template" in GDocs
# Paste the output using the "Paste from Markdown" option.
#Look for the output, new_movies.html, in the scripts directory.

Latest revision as of 02:45, 2 November 2026

Pulling data from Jellyfin on the recent addit-ons to the library

  1. Open a terminal window
  2. CD to Users/kmilleca/Movies/scripts
  3. Run these scripts in Terminal, one at a time:
    export JELLYFIN_API_KEY='your_jellyfin_key'
    
    export ANTHROPIC_API_KEY='your_anthropic_key'
    
    python3 newsletter_movies.py
    
  4. Open "Movie Newsletter Template" in GDocs
  5. Paste the output using the "Paste from Markdown" option.
  6. Look for the output, new_movies.html, in the scripts directory.