This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"rank": "1", | |
"title": "Everlong", | |
"album": "The Colour and the Shape", | |
"artist": "Foo Fighters", | |
"albumYear": "1997", | |
"rankOneYearAgo": "2", | |
"rankTwoYearsAgo": "3", | |
"timestamp": "2024-09-13 18:08:46", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"rank": "1", | |
"title": "Master Of Puppets", | |
"album": "Master Of Puppets", | |
"artist": "Metallica", | |
"albumYear": "1986", | |
"rankOneYearAgo": "2", | |
"rankTwoYearsAgo": "14", | |
"timestamp": "2023-09-08 18:53:12", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"rank": "1", | |
"title": "Simple Man", | |
"album": "(Pronounced 'Lĕh-'nérd 'Skin-'nérd)", | |
"artist": "Lynyrd Skynyrd", | |
"albumYear": "1973", | |
"rankOneYearAgo": "3", | |
"rankTwoYearsAgo": "10", | |
"timestamp": "2022-09-30 19:00:00", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"rank": "1", | |
"title": "Killing In The Name", | |
"album": "Rage Against The Machine", | |
"artist": "Rage Against The Machine", | |
"albumYear": "1992", | |
"rankOneYearAgo": "7", | |
"rankTwoYearsAgo": "3", | |
"timestamp": "2021-09-24 18:58:00", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Google Photos Takeout Processor | |
This tool takes an unzipped and merged (for takeouts above 10Gb) Google Photos Takeout and filters duplicates, applies | |
metadata and moves all files to an output folder with each file having the format | |
`YYYY-MM-DD_HH-MM-SS {original_filename}`. | |
Setup: | |
1. Install tqdm: `pip install tqdm` | |
2. Install loguru: `pip install loguru` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"rank": "1", | |
"title": "Everlong", | |
"album": "The Colour and the Shape", | |
"artist": "Foo Fighters", | |
"albumYear": "1997", | |
"rankOneYearAgo": "8", | |
"rankTwoYearsAgo": "6", | |
"timestamp": "2020-11-06 18:51:00", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"rank": "1", | |
"title": "Black", | |
"album": "Ten", | |
"artist": "Pearl Jam", | |
"albumYear": "1991", | |
"rankOneYearAgo": "2", | |
"rankTwoYearsAgo": "3", | |
"timestamp": "2019-09-13 18:57:13", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# from https://github.com/moses-palmer/pynput/issues/20 | |
from pynput import keyboard | |
# The key combination to check | |
COMBINATIONS = [ | |
{keyboard.Key.shift_r, keyboard.KeyCode(char='a')}, | |
{keyboard.Key.shift_r, keyboard.KeyCode(char='A')} | |
] | |
# The currently active modifiers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import time | |
import datetime | |
fileLocation = r"" | |
year = 2017 | |
month = 11 | |
day = 5 | |
hour = 19 | |
minute = 50 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Will sort a given direcotry of music (copy) | |
# Requires mutagen | |
import os | |
from mutagen.id3 import ID3 | |
from mutagen.easymp4 import EasyMP4 | |
import shutil | |
input_folder = input("What is the folder to get files from?") | |
output_folder = os.getcwd() + "/Output/" |
NewerOlder