Sporadic Attempts at Design and Life – Telegram
Sporadic Attempts at Design and Life
514 subscribers
919 photos
179 videos
29 files
319 links
https://bento.me/temdesigns

Title self explanatory. Opinions, resources, works, tools, and memes.

All of the tools i have shared: @temsharestools

Contact @just_tem
When DMing, arrive at your topic in less than 2 texts. Will be reported as spam otherwis
Download Telegram
How it looks on lighter color thumbnails
Forwarded from Eyuel Zero's Stuff (Eyuel Zero 🇪🇹)
I did it! I got the Asus ROG Zephyrus M16
🔥3
Bruno Mars on a generational run rn
King will reclaim his spot tomorrow though
So me and @marshy_melon wanted to import a telegram chat's entire music library on to spotify (around 1386 songs)

Here are the steps that we followed

1. We exported the chat history on JSON format from the group (you can do that on the desktop version of telegram)

2. Marshy used python to parse the json, Looped thru the messages looked for media type audio and written it with the duration to a file. He also made sure to exclude reaction and other short audio clips

Here is the code
import json

with open('result.json', 'r', encoding='utf-8') as file:
data = json.load(file)

c = data["messages"]

with open('output.csv', 'w', encoding='utf-8') as output_file:
output_file.write("noscript,duration in seconds\n")
for k in c:
if k.get('media_type') == "audio_file" and 'file_name' in k and 'duration_seconds' in k:
output_file.write(f"{k['file_name']},{k['duration_seconds']}\n")


3. I took the output CSV and fed it to ChatGPT. I had it put the song names under a column under TITLE and the artist names under ARTIST on the next column. Also, made sure it cleaned up random numbers on artist and song noscripts since it probably knew song names if they were on Spotify

Here is the prompt
 Create a new csv file with first column containing TITLE with all the song noscripts separated alone below it and second column containing ARTIST with all the artist names of the songs listed below it. then you will have a problem where there is numbers before artist and song names. they are famous artists so you should be able to recognize them. clean up the numbers that come before names
Example: "04 young thug" should just be "young thug"


4. For the next (and last) step I fed our ChatGPT output CSV file to this open source tool I found on Spotify Community. After it was done converting, it also gives you an experimental feature called "clean up" and when it cleans up,
- the parenthesis portion is removed
- the ampersand (&) portion is removed
- single quotes (') are removed
- the "featuring" portion is removed
Which increases the yield rate slightly.
After that, we ended up with ~55% of the songs shared on the group. That is including all reaction sounds, Non Spotify songs, and bottom line failed conversions.
21
Unpopular opinion
Linkedin is actually the most human social media
😁1
Doncic for AD is crazy
I can now merge my unwarranted doncic hate and warranted lakers hate together teehee