Pulling Newsletter Text From Jellyfin: Difference between revisions

From MemoryLeak
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 4: Line 4:
#CD to Users/kmilleca/Movies/scripts
#CD to Users/kmilleca/Movies/scripts
#Run these scripts in Terminal, one at a time:<syntaxhighlight lang="bash">
#Run these scripts in Terminal, one at a time:<syntaxhighlight lang="bash">
export JELLYFIN_API_KEY="your_jellyfin_key"
export JELLYFIN_API_KEY='your_jellyfin_key'


export ANTHROPIC_API_KEY="your_anthropic_key"
export ANTHROPIC_API_KEY='your_anthropic_key'


python3 newsletter_movies.py</syntaxhighlight>
python3 newsletter_movies.py</syntaxhighlight>

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.