https://github.com/plexinc/shuffle-analyzer
A command line utility which analyzes music shuffles from your media server.
https://github.com/plexinc/shuffle-analyzer
Last synced: 9 months ago
JSON representation
A command line utility which analyzes music shuffles from your media server.
- Host: GitHub
- URL: https://github.com/plexinc/shuffle-analyzer
- Owner: plexinc
- Created: 2021-03-29T20:23:47.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-03-29T23:13:44.000Z (almost 5 years ago)
- Last Synced: 2025-06-19T04:04:35.723Z (9 months ago)
- Language: JavaScript
- Homepage:
- Size: 22.5 KB
- Stars: 1
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Introduction
Use this to analyze shuffles from your Plex Media Server. You'll need to figure out:
- A token (xxx below).
- The ID of the music library (1224 below).
### Example
Library radio, look at 20 different plays, look at first 10 tracks and print top occurances of tracks:
```
$ ❯ ./analysis.js -t xxx -l 1224 -r 20 -m radio -c 10
Found library section.
Creating 20 play queues and looking at 10 first tracks for mode radio...
Tracks:
2 - John Cunningham - Imitation Time (6 months ago)
2 - The Maldives - Blood Relations (2 months ago)
2 - Clue to Kalo - The Just Is Enough (a year ago)
2 - Vince Guaraldi Trio - Skating (5 months ago)
2 - Game Theory - Regenisraen (4 years ago)
2 - Simon & Garfunkel - The Only Living Boy in New York (16 days ago)
2 - Don McLean - American Pie (a month ago)
2 - Robyn Hitchcock and the Egyptians - My Wife and My Dead Wife (a year ago)
2 - The Kinks - You Really Got Me (2 months ago)
2 - One Left - The Demon Haunted World (2 months ago)
```
Analyze a specific playlist:
```
$ ❯ ./analysis.js -t xxx -l 1224 -r 20 -c 10 -m playlist -p 2840310
Found library section.
Creating 20 play queues and looking at 10 first tracks for mode playlist...
Tracks:
3 - Thievery Corporation - The Foundation (6 months ago)
3 - Radiohead - Karma Police (2 months ago)
3 - CFCF - Big Love (8 months ago)
2 - Daughter - Youth (8 months ago)
2 - Nomak - Geishas in the Days (3 months ago)
2 - Starflyer 59 - Happy Birthday John (10 months ago)
2 - Flunk - Spring to Kingdom Come (5 months ago)
2 - Jeru the Damaja - Me or the Papes (2 months ago)
2 - Various Artists - Blooming Sounds (8 months ago)
2 - Mattafix - Gangster Blues (a month ago)
```