Coder Social home page Coder Social logo

smarterplaylists's Introduction

Smarter Playlists

This is a web app for creating complex playlists

smarterplaylists's People

Contributors

phunter avatar plamere avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

smarterplaylists's Issues

Feature Request: Reporting

Thank you for such a great tool! It has made playlist management so much easier! I hope Spotify starts incorporating these features in some future version.

It would be great to use SmarterPlaylists to get a report of songs and what playlist(s) they originate from. Maybe a different output type like a textfile/email or an entire reporting subsystem.

Similarly getting other attributes in report form would be excellent.

Wishlist: Playlist Generator (e.g., program to output multiple playlists)

(SmarterPlaylists is a game-changer.)

I would like to use SmarterPlaylists to generate multiple playlists instead of just a single playlist. E.g., one template I've been using combines familiar songs with unfamiliar ones. In this iteration of the template, the unfamiliar source component is "Boy and Bear":

Screen Shot 2019-06-08 at 4 37 14 PM

It would be amazing if I could source multiple playlists from the playlist source to output multiple resulting playlists, e.g.,

source-multiple-playlists-in-SmarterPlaylists

So a chain of four three-item components would generate 3 x 3 x 3 x 3 = 81 playlists. To get this same effect now, I need to duplicate my template 81 times.

Feature Requests

First of let me say two things. WOW and Thanks. What you have created here is what I was looking for since the invention of digital music. It's just perfect. Also sorry for commenting here and not in your google group I didn't want to have to create a google account just for this one comment. I hope you can forgive me?

For my requests:
"Genre Filter". I'd love to be able to exclude one ore more genres from my mix. Unless I'm missing something I think that's not possible currently, right? Use case: I made an eclectic mix consisting of tracks from all kinds of playlist and other sources. Now I really don't like R&B. I want to filter out all songs that are tagged R&B.

"Random songs by followed artists". If I'm not mistaken the "Top tracks by followed artists" block always generates the same 1-10 tracks (by their rank on the artist page?). Would be cool to get more diverse mix of my followed artist by letting the block pick random instead of top tracks.

Thanks and Cheers!

(Rel date) tracks added since - picking up songs older than expected (out of range)

Making Playlists (Rel date) "Include only tracks added since" was detecting and outputting songs that were older than I wanted. A playlist with songs added 21 hours ago were detected with a "tracks added since" filter of 15hours 34 mins ~4.5 hours out (I used minor adjustments to pin down the filter to a time of 1 minute)

Test playlist

Using a playlist, the aim was to restrict to songs added in the past 24 hours-

  • 1 songs: 16 hours ago
  • 1 song: 17 hours ago
  • 52 songs: 1 day ago
  • the rest: x days ago (or dates)

Expectation: only 2 songs should be captured when using "since: 24 hours"

Test result

I tested various inputs for "tracks added since" (inclusive hour ranges used for brevity)

"tracks added since" input Songs detected
0 to 11 hours 0 songs
12 hours 1 song (16 hours ago)
13 hours to 20 hours 2 songs (16, 17 hours ago)
21 hours 54 songs*
22 hours+ 54 songs (+ once hit 1 day it was as expected)

* songs start falling out of range of the filter all 54 were originally detected in 21 hours

[Feature Request] automatic playlist organisation

The general idea it that if one has large playlists that one listens to often, it would be nice to filter out the songs that have already been played or skipped in the recent past. To further refine this, the period for which each song is filtered out can be varied by how much one likes the song. This would mean that one's favourites are being played more often while songs that one likes but doesn't want to hear every day are being played more rarely.

To filter out a song, one needs to know when it was last played or skipped to define something such as "not played in the past two days and not skipped in the past four days"

To define how much a song is liked, two approaches are possible: either manually, by giving each song a star rating or by automatically by operationalizing liking as a quotient of play count over skip count. The latter approach means that no active input of the user is required and that liking can organically vary over a period of time.
For this, the skip and play count of a song are required. Ideally, these counts are specific to each playlist, as one might like a song better in one playlist as opposed to another depending on how well the song fits the rest of the playlist.
A resulting filter might then be: "for songs with a play/skip ratio > 2: not played in the past four days and not skipped in the past eight days; for songs with a play/skip ratio > 4: not played in the past two days and not skipped in the past four days"

Time keeps shifting on programs scheduled to run daily

I have a few programs that are scheduled to run overnight on a daily basis to give me a fresh playlist when I start the day. However, I have to keep going into the configuration to fix the scheduled time because for some reason it keeps changing to run at some other time, usually in the middle of the day. I do occasionally run the programs manually, but I wouldn't expect this to affect the schedule.

Scenario: Schedule a program to run daily at a specified time.
Expected: Program runs every day at the specified time.
Actual: The scheduled time changes, often by as much as 8-12 hours.

Recently Added from Liked Songs

I'd like to be able to automatically create a list of the most recently liked 200 songs similar to Apple Music's smart playlist feature. I cannot find a way to do this in the app.

Offline?

Is SmarterPlaylists server down for maintenance or upgrade? Unable to reach with 404 error.

Playlist "Transcend" from Spotify can't be added

I want to add a playlist to my mix but it isn't working properly.

The playlist is https://open.spotify.com/playlist/37i9dQZF1DWViyN2b86Qnu?si=hE9ed87_TC6b340PT77DRw and it is generated by Spotify

I tried to add both the playlist (using the "playlist" component) and the radio ("artist radio" component). I tested the following scenarios and all of them are returning the same error message
Playlist name "Transcend"
Playlist name "Transcend" + user "Spotify"
Playlist name "Transcend" + URL https://open.spotify.com/playlist/37i9dQZF1DWViyN2b86Qnu?si=hE9ed87_TC6b340PT77DRw
Playlist name "Transcend" + URL https://open.spotify.com/playlist/37i9dQZF1DWViyN2b86Qnu
Radio artist name "Transcend"

When i hit RUN I receive the error message "total". It is the only playlist in my mix doing it so far.

Thanks for the great work you did!

Can it be installed on docker or raspberry pi?

Fantastic project! I have been using it for a long time, and I cannot thank you enough. I don't understand why this is a standard part of spotify.

Anyway, I would like to install my own smarterplaylists server on a raspberry pi, using raspbian. I have read the setup.txt, and it seems like it would work. Is everything required for installation mentioned in that text file? Alternatively, can it be run in docker?

[Feature Request] Source songs from user folder

Hello,

First of all thank you very much for your work on this, and let me say how impressed I am at the quality of the app you've built. It's useful, simple to use and fast, so big ups on the holy trinity there!

As for the FR, I think it would be really useful for users to source entire folders when making programs. To be clear:

I have the current Playlist structure in my account:

  • SmartPlaylists
    • |-------- Playlist1
    •   ---
      
    • |-------- PlaylistN
  • SourcePlaylists
    • Source1
      • |-------- Playlist1
      •  ---
        
      • |-------- PlaylistN
    • ---
      
    • SourceN
      • |-------- Playlist1
      •  ---
        
      • |-------- PlaylistN

where each SmartPlaylist is the result of a SmartProgram whose songs are sourced in one folder in SourcePlaylists.

I think it'd greatly improve workflow to be able to designate a program's source as all the playlists in an user's folder. It would allow the user to focus exclusively on content while on Spotify app and exclusively on model development while on SmarterPlaylists.

Having never developped a web app, and certainly never developped an app that interacts with Spotify I don't know how hard this would be to implement. As it stands it doesn't look like folders have URI addresses that can be shared like Playlists, but maybe you could ask a user on login for his account information directly (songs, existing playlists and folders), therefore making a closer integration of your app to Spotify ?

Anyways, just a thought I had while discovering your work.

Thanks again,

Francisco

combiner "mix in" behaves unpredictable

The combiner "mix in" behaves totally unpredictable to me on the server http://smarterplaylists.playlistmachinery.com.

For example when I try to mix the two Spotify playlists

  • Top 50 Global (green)
  • Top 50 Germany (red)

with options

  • initial number of green tracks: 3
  • number of green tracks in a row: 3
  • number of red tracks in a row: 1

I get a playlist with

  • 1 green
  • 1 red
  • 3 green
  • 1 red
  • 2 green
  • 3 red
  • 1 green
  • 3 red
  • 2 green
  • 1 red
  • etc.

I had a look in the code but but could not find an error in the MixIn class in plugs.py myself.

Issue connecting to services

I was using smarter playlists yesterday morning, but it seems that the server went down anytime between 12pm and 9 pm Eastern Time, UTC -5:00 yesterday.

I get 2 errors:
-The SmarterPlaylists server is offline. Try later
and
-Uh Oh - Having trouble phoning home

I tried installing the code from this repo on my server to see if I could get it to work, but I received the same errors.

[Feature request] Add Genre filter

Hi,

it would be great to be able to filter by gerne.
Would it be possible to add this feature?

Also, I saw that at some point in time there was the option to use Genre Radio as input stream.
Is there a reason why this was discontinued?

Thank you for this great tool! Makes my life so much easier!!

Best
Kai

Large Playlists Cause Odd Results

Super excited to use this program, as it solves a lot of the problems I have with spotify.

I seem to be having problems processing large playlists, though. If I use a playlist with a source size of 5k or so, I get some odd behavior across the board:

  1. The count of the resulting playlist doesn't make sense. I'll put a First 10 node right before my Save to Playlist output, and it'll result in 263 songs on the playlist. Weird?
  2. The shuffle doesn't really shuffle. It shuffles a little bit, but only seems to be maybe shuffling the first 500 tracks or so. All the results are artists starting with A or B, and none from any later letters in the alphabet. My guess is there's an internal limit happening, and the later artists are not even considered.
  3. In some configurations, the shuffle doesn't work at all, it just outputs the first 263 songs in alphabetical order.

I'm hoping this can be fixed, as I don't necessarily need large outputs, but large playlist sources are important to me.

Thanks for your time!

Add support for several artists of the track

Currently it seems that pbl uses the only first artist from the list of artists, which makes impossible to filter tracks where are several artists (featuring tracks). I think it'd be good improvements to allow to apply filters for all artists (and at the same time for the main artist only, for example by adding the new filter like "artists filter" and rename "artist filter" to "main artist filter" or so).

BPM filter does not allow exact number

When adding a BPM filter, if I want a playlist with an exact tempo (eg. 128BPM setting min. and max. 128), the filter returns 0 songs.
If I put between 127 and 129, it shows songs between 127 and 129, including 128.

Servers offline?

Any update on when Smarter Playlists will be back up & running?

Honor account settings for visibility of new playlists

There is an account setting to make new playlists private or public by default, but SmarterPlaylists ignores this setting and makes every playlist public.

It would be cool to honor this setting or at least add an option on the "create new playlist" action to make new playlists private.

Programs Tab: "CREATED" and "# COMPONENTS" columns do not contain any content

The columns labeled CREATED and # COMPONENTS still appear, but the data that would typically appear in the cells below has disappeared.

The rest of the table content shifts left to fill empty spaces, leaving the last two columns of the table labeled but empty.

LAST RUN date now displays beneath CREATED, RUNS beneath LAST RUN and so on.

Smarter Playlists

Browser: Chrome (Version 89.0.4389.128 (Official Build) (arm64))

Can't save using MISCS "Save to Spotify" or "save to new playlist" if stream is 1000+ tracks

BUG: If the stream at the end of the line is more than 999 tracks, the MISCS "Save to Spotify" and "save to new playlist" do NOT work. Saving using the Checkbox at the top of the builder does work.

REPRODUCE: Add a Playlist block which points to a playlist of more than 1,200 songs. Add a Shuffle block. Add a "save to new playlist" block. The playlist does not save. Delete the "save to new playlist" block, and tick the checkbox at the top of the Builder. Playlist saves as the Program name with 1,000 tracks.

WORKAROUND: Add a Sample block just before the "save to a new playlist" block, and set the sample size to 999 tracks.

Some sources don't work.

I just discovered the app/tool and the idea is amazing, however, some of the "sources" work, but some others don't.

Testing one by one I discovered that the sources "artist radio", "artist tracks" and "genre radio" does not work at all. You can test it by just selecting those sources and running the app, nothing will happen.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.