<commit_before>TODO list
=========
* Initialize PRNG
* Session
  -- Implement support for play tokens. We should send such notifications and
     stop the player if we receive them ourselves.
  -- Adhere to paths configured in sp_session_init()
  -- Caching of data
* Tracks
  -- Implement support for country restrictions
  -- Implement support for multiple bitrates and files. We should probably 
     select the one with the lowest bitrate (i.e, 96kbit/s)
* Playlists
  -- Add support for creating/adding/modifying/removing tracks and playlists<commit_msg>Note issue with redirected tracks<commit_after>TODO list
=========
* Initialize PRNG
* Session
  -- Implement support for play tokens. We should send such notifications and
     stop the player if we receive them ourselves.
  -- Adhere to paths configured in sp_session_init()
  -- Caching of data
* Tracks
  -- osfy_playlist_browse_callback() does not account for redirected track IDs
     A playlist might contain the track spotify:track:3vYSRBMMaeX2JmuGvFLvMS 
     which is internally represented as id 60c8881ca609458aa2675a65c86c6c4b01.
     After a playlist has been loaded, all its tracks are browsed in order to
     load metadata for them.
     The response from the track browsing might return a different track id
     (7384f83c82a041899d3e4f67399a730a) but note the requested track ID
     (60c8881ca609458aa2675a65c86c6c4b01) among its 'redirect' elements.
     The effect is that the original track with id 60c8.. is never loaded.
     Example XML:
     <track>
       <id>7384f83c82a041899d3e4f67399a730a</id>
       <redirect>60c8881ca609458aa2675a65c86c6c4b</redirect>
       <redirect>a4c26769bb70428d848d8c0cac651804</redirect>
       <redirect>282821ee66424f5aa47054b79f951db9</redirect>
       <redirect>491f6858dab6426092463b5099332a9e</redirect>
       <title>Welcome To The Jungle</title>
  -- Implement support for country restrictions
  -- Implement support for multiple bitrates and files. We should probably 
     select the one with the lowest bitrate (i.e, 96kbit/s)
* Playlists
  -- Add support for creating/adding/modifying/removing tracks and playlists
{'fraction_non_alphanumeric': 0.06247086247086247, 'fraction_numerical': 0.09184149184149185, 'mean_word_length': 3.8552036199095023, 'pattern_counts': {'":': 0, '<': 16, '<?xml version=': 0, '>': 16, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3590165', 'n_tokens_mistral': 759, 'n_tokens_neox': 650, 'n_words': 224}