Skip to content

Instantly share code, notes, and snippets.

@pukkandan
pukkandan / ytdlp_nest_comments.py
Last active August 9, 2024 17:41
Prettify and nest comments from yt-dlp's info.json file and write it to a new html/json file
#!/usr/bin/env python3
"""
SPDX-License-Identifier: MIT https://opensource.org/licenses/MIT
Copyright © 2021 pukkandan.ytdlp@gmail.com
* Input file is an info.json (with comments) that yt-dlp (https://github.com/yt-dlp/yt-dlp) wrote
* Change FIELDS according to your needs
@magnetikonline
magnetikonline / README.md
Last active April 17, 2023 11:49
Kodi media player - update video database file paths.

Kodi media player - update video database file paths

  • The Kodi databases are all SQLite3 based.
  • For Linux, the video database will be located at: ~/.kodi/userdata/Database/MyVideosXX.db, where XX is the version number. You will most likely want the highest number available for edit.

Install SQLite CLI tools, open database

$ sudo apt-get install libsqlite3-dev sqlite3
$ sqlite3 MyVideosXX.db