Uploaded image for project: 'ListenBrainz'
  1. ListenBrainz
  2. LB-452

Write user-replay script

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: High
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: data store
    • Labels:
      None

      Description

      We need to write a class that allows us to re-write all of the listens for a given user, that also allows us to fix some broken data in the process. For instance we now know that some users have track numbers that are strings, that are preventing new listens from being written correctly. The class should allow the user to override some filter function that allows function to return no data in order to skip the listen, or to return a fixed listen in order to fix the data.

      All the data should be written to a temporary measurement, the old measurement removed, and then the new measurement to be written from the temporary measurement.  Finally the old measurement should be removed.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rob Robert Kaye
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Packages

                Version Package