Tidal Music Metadata Csv Export

I never trust these music services to remember what music I love. Tidal doesn’t have an easy way to export this. I just want a CSV file to keep so Tidal doesn’t own the music I have found.

So here is a small repo you can clone to run against your Tidal and pull your favorites out.

# You need to install tidalapi using pip install tidalapi (more can be found here https://github.com/tamland/python-tidal)
# had to be fixed with https://github.com/tamland/python-tidal/pull/130

import csv
import sys
import pprint

import tidalapi

session = tidalapi.Session()
session.login_oauth_simple()
favorites = tidalapi.Favorites(session, session.user.id)

#
# Get Tracks
#
open('../tracks.csv', 'w').close()
f = open("../tracks.csv", "a")

f.write('track,album,artist\n')

getMore = True
limit = 1000
offset = 0

while getMore == True:

    tracks = favorites.tracks(limit, offset);
    offset += limit;
    if len(tracks) == 0:
        getMore = False

    for track in tracks:
        f.write(','.join([track.name, track.album.name, track.artist.name]) + '\n')


#
# Get Artists
#
open('../artists.csv', 'w').close()
f = open("../artists.csv", "a")

f.write('artist\n')

getMore = True
limit = 1000
offset = 0

while getMore == True:

    artists = favorites.artists(limit, offset);
    offset += limit;
    if len(artists) == 0:
        getMore = False

    for artist in artists:
        f.write(artist.name + '\n')


#
# Get Album
#
open('../albums.csv', 'w').close()
f = open("../albums.csv", "a")

f.write('album,artist\n')

getMore = True
limit = 1000
offset = 0

while getMore == True:

    albums = favorites.albums(limit, offset);
    offset += limit;
    if len(albums) == 0:
        getMore = False

    for album in albums:
        f.write(','.join([album.name, album.artist.name]) + '\n')

Mechanical Keyboards

Had a fun time getting in to mechanical keyboards for real this time. In the past I got a low profile keychron with Gateron blues and a air75 Nuphy with browns.

The low profile keychrone had flat keys and I couldn’t feel which key my fingers were on and I also didn’t like the blue switch but I didn’t know it at the time.

The Nuphy was much better but I need more room around the sift and arrow keys for me to type well. Also I didn’t like the brown switch though I didn’t know it at the time.

Keychron Q2 QMK - 65% with knob and Gateron G Pro Red

One I got this keyboard I realized why I had problems with the others. I really need that gap for the arrow keys and the linear reds made typing feel good to me.

image

Ajazz AK816 from Epomaker - 75% with gold knob and Gateron Pro 2.0 Silver linears

Once I hit on how much I love the Keychron and why I felt much better with this purchase. I know I like they layout. I was excited to try the silvers which are just like the reds but with a shorter travel distance. I really love a linear with a short travel distance.

Ajazz AK816 from Epomaker

Now that I know what I like I can go back to the original keychron and get better keys and switches and the Nuphy and get linear switches for that as well. It took some money but I’ve set myself up well to always be happy with the keyboard I have.

Best Tech Job Board

PeerSignal

Right now there is no better place to find a tech job then the peersignal.org hiring tracker. They currently list over 1000 companies with links to thier job boards and different ways to filter companies such as by company size and age.

image

Key Values

On a smaller scale this Key Values site is great. It has fewer companies listed but have much more detailed filters.

image