ThemerrDB is a database for movie and video game theme songs.
The database is created using codeless contributions.
-
Create a new Issue selecting either template.
-
Add the requested URLs to the issue.
-
Submit the issue.
A label will be added to the request. i.e. request-game
or request-movie
A workflow will run. If necessary the title of the issue will be updated. Additionally, a comment will be added to the issue. If there are any issues with the YouTube URL, the comment will contain the error message in the first section. The remaining information in the comment is to assist with the review process.
Submitted "issues" will be reviewed by a developer/moderator. Once approved we will add a label, i.e. add-game
or
add-movie
. At this point, the workflow will run and attempt to update the database in the
database branch.
The database will be pushed to the gh-pages branch, once daily at UTC 12:00. Theme songs will not be available until they are published.
-
Determine the type of content. i.e.
game
ormovie
-
Determine the id of the item from the main database.
- Games
- Movies
-
Access the item on ThemerrDB at the following url:
https://app.lizardbyte.dev/ThemerrDB/<media_type>/<database>/<item_id>.json
Where:
media_type
isgames
ormovies
database
isigdb
,imdb
, orthemoviedb
item_id
is the id number from the specified database
⚠️ Not all movies will be available in theimdb
database directory. This is due to the fact that theimdb_id
is missing from the item's entry inthemoviedb
. -
Within the downloaded
json
file there is a key namedyoutube_theme_url
that contains the YouTube video URL to the theme song. -
Extract the audio from the YouTube video using your preferred method. Some suggestions are listed in the table below.
language | library |
---|---|
C# | YoutubeExplode |
JavaScript | ytdl-core |
Python | youtube_dl |
Something missing? Let us know by opening a PR to update the README.