Skip to content

A command line utility which analyzes music shuffles from your media server.

Notifications You must be signed in to change notification settings

plexinc/shuffle-analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

A command line utility which analyzes music shuffles from your media server.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published