How does the metadata of a certain title formatted? #283
-
I read from the Wiki/Readme/Issues that the metadata is stored in Or if I have the assumption of metadata wrong, and instead Mango just reads the existing info.json and imported it to the one of the Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Oh yes unlike other metadata the tags are stored in the The |
Beta Was this translation helpful? Give feedback.
-
Thank you! By the way when I was troubleshooting this, I just found an issue that if |
Beta Was this translation helpful? Give feedback.
Oh yes unlike other metadata the tags are stored in the
tags
table in SQLite DB. The default location is~/mango/mango.db
. You can find the table definition here:https://github.com/hkalexling/Mango/blob/a1015266725566641f749f527fcc7f03bb68df6f/migration/tags.4.cr#L4-L10
The
id
column is the title ID. You can get a title ID by either reading thetitles
table in the same DB file or using the/api/library
endpoint. Check<your instance>/api
for the documentation.