Skip to content

Instantly share code, notes, and snippets.

@GorlikItsMe
Created March 20, 2025 16:39
Show Gist options
  • Save GorlikItsMe/4c90cba803c3ec097dbcb5ce44e65bef to your computer and use it in GitHub Desktop.
Save GorlikItsMe/4c90cba803c3ec097dbcb5ce44e65bef to your computer and use it in GitHub Desktop.
Play openfm radio like a normal human being, not animal with multiple scam ads
# Want to change radio station? -> Replace OFM10 with something else
# Where to find diffrent values? -> 1. open radio app in chrome 2. Go to network tab and search for `m3u8`
$response = Invoke-RestMethod "https://open.fm/api/user/token?fp=https://stream-cdn-1.open.fm/OFM10/ngrp:standard/playlist.m3u8"
$token = $response.url
Start-Process "C:\Program Files\VideoLAN\VLC\vlc.exe" -ArgumentList $token
Write-Host "Have a nice day!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment