jdchmiel / soundtrack.io

Self-hosted collaborative music playing application.
2 stars 1 forks source link

all tracks page shows track duplication?? #5

Closed jdchmiel closed 9 years ago

jdchmiel commented 10 years ago

Dupes are getting into the DB or the all tracks page query is listing all plays, not unique tracks.. Figure out where, prevent.
Verify replaying a track by re-enqueing it or by machine choosing it should not re-insert it, should reference original track.

Anything that needs to reference a specific play of the track should be evaluated. Check what models exists, if a 'single play' model exists, and whats going on in the schema.

jdchmiel commented 10 years ago

Seems to be all possible sources of the track are showing up. Adjsut display to show unique name, and detail page to show all sources.

jdchmiel commented 9 years ago

not gonna mess with this for now. If I eventually get too irritated might look into it again, but it does seem to be various sources, and you can enqueue them independently.