Commit graph

289 commits

Author SHA1 Message Date
Moritz Jung
535987e252
Merge pull request #206 from Spydarlee/clean-file-names
Clean up generated files names to remove or replace invalid characters
2025-09-03 15:33:39 +02:00
Karn
bc6b985234 Refactor illegal filename character cleanup 2025-09-03 12:31:54 +01:00
Moritz Jung
75166ec77c clean up merged PRs 2025-08-31 11:34:23 +02:00
Moritz Jung
6699805001
Merge pull request #202 from ltctceplrm/musictracks
Add extra metadata for musicbrainz API
2025-08-31 10:32:33 +02:00
Moritz Jung
810beaa23b
Merge pull request #209 from Spydarlee/giantbomb-fix
Fix for double URI component encoding when querying GiantBomb API
2025-08-31 00:06:21 +02:00
Karn
51db30fb27 Fix for double URI component encoding when querying GiantBomb API by title 2025-08-30 22:24:13 +01:00
Karn
c1b35fc895 Remove redundant regex from filename cleaner helper 2025-08-30 19:51:55 +01:00
Karn
9087dcaf7b When appending local version of remote image to frontmatter, enclose in quotes to ensure valid formatting 2025-08-30 17:49:13 +01:00
Karn
9a702b6fc7 Clean up generated files names to remove or replace invalid characters 2025-08-30 17:02:06 +01:00
ltctceplrm
6170e0760b Revert "Fixed genres"
This reverts commit 6a16fe34cd.
2025-08-10 15:30:43 +02:00
ltctceplrm
6a16fe34cd Fixed genres
Musicbrainz API renamed it from genres to tags
2025-08-10 15:26:44 +02:00
ltctceplrm
f51a1465b4 Added language and trackCount fields for music
The language at musicbrainz is in the format of iso-639-2 so I use a package to translate it to a full name of the language.
2025-08-10 15:17:00 +02:00
ltctceplrm
6cb41b73d2
Merge branch 'mProjectsCode:master' into musictracks 2025-08-10 14:23:07 +02:00
Moritz Jung
4366636d9b fix omdb and id search 2025-08-10 14:03:12 +02:00
ltctceplrm
d5c9faa0a7 Add tracks to musicbrainz API 2025-08-10 13:59:18 +02:00
Moritz Jung
1637139534
Merge pull request #195 from ltctceplrm/remapfields
Fix property mapping text box
2025-08-08 16:40:43 +02:00
Moritz Jung
db6058f0f3 add todo commend for thing that got lost in merge 2025-08-08 16:40:14 +02:00
Moritz Jung
12ebebc228 Merge branch 'master' of https://github.com/mProjectsCode/obsidian-media-db-plugin 2025-08-08 16:35:42 +02:00
Moritz Jung
292dcf5b49 update deps; make apis more type safe 2025-08-08 16:29:18 +02:00
ltctceplrm
14fbbf8170 Preliminary fix in rune mode for remapping
Based on https://github.com/sveltejs/svelte/pull/15107#discussion_r1945486274
2025-08-02 00:16:42 +02:00
Moritz Jung
a685d821f5
Merge pull request #196 from ltctceplrm/omdbapi
Add country, boxOffice and ageRating fields for movies and series
2025-07-25 11:10:29 +02:00
Moritz Jung
aab9ee64c2
Merge pull request #198 from ZackBoe/mb-releasedate
MusicBrainz: Add releaseDate to music releases
2025-07-25 11:05:40 +02:00
Zack Boehm
5089287ee4 MusicBrainz: Add releaseDate to music releases 2025-07-24 20:23:36 -04:00
Zack Boehm
1c9de8c3a0 MusicBrainz: Limit cover art images to 500px 2025-07-24 20:02:15 -04:00
ltctceplrm
ece6650376 Add country, boxOffice and ageRating fields for movies and series
OMDbAPI has all 3 of these fields and MALAPI only has ageRating. While most anime is japanese there are some korean or chinese anime also on MAL so I thought it best to just set country and boxOffice as empty.

boxOffice isn't applicable for series so I removed that field
2025-07-19 19:14:11 +02:00
ltctceplrm
e17271b8e9 Fix property mapping text box 2025-07-19 14:27:58 +02:00
ltctceplrm
12596573b3 Added plot/description to openlibraryAPI when available 2025-07-01 01:43:28 +02:00
ltctceplrm
74acf7f914 Small fix for musicbrainzapi
Added .jpg to the poster url so the posters can be downloaded by the plugin
2025-06-27 16:05:33 +02:00
ltctceplrm
8a392e5e4e Improved openlibrary API + updated readme
Fixed missing ratings, page numbers and also added an option to add specific editions using search by ID, this method also enables you to search by isbn ID.
2025-06-27 00:59:45 +02:00
Moritz Jung
8792fed9a3 [auto] run release preconditions 2025-06-15 21:25:00 +02:00
Moritz Jung
db444c83f5 refactor image download into method 2025-05-20 12:11:35 +02:00
Moritz Jung
917f7ab411
Merge pull request #183 from ltctceplrm/api-toggle
Restored and updated the api toggle + added a download option for poster images
2025-05-20 12:05:56 +02:00
ltctceplrm
970432dcfb Reinstated check if file already exists
Plugin will no longer download a poster if it already exists, to avoid unnecessary downloads and in case the user has modified the saved image themselves
2025-05-12 14:06:02 +02:00
ltctceplrm
a615e7f768 Updated image url for omdb and steam
changed steam to a vertical poster to fit the other posters and upgraded the quality of omdb from SX300 to SX600
2025-05-11 17:26:51 +02:00
ltctceplrm
657668dc7d Added download option for image urls 2025-05-11 17:26:12 +02:00
ltctceplrm
e42ba35697 "Cancel bug" fix #188 2025-05-05 15:52:16 +02:00
ltctceplrm
d5c760e72b Applied fixes for review
Use MediaType[] instead of string[], changed variables to lowercase
2025-03-08 13:55:51 +01:00
ltctceplrm
72198abd33 Made several improvements
- Replaced interpolated string to a new function getDisabledMediaTypes()
- Added override for every API with the plugin settings for disabled media types
- Added _disabledMediaTypes for API's even if they are the only provider of a media type
- Replaced static apiMediaTypes to a dynamic version
2025-03-08 02:35:09 +01:00
ltctceplrm
666ca1e93b Reverted MALAPIManga rename 2025-03-08 02:26:15 +01:00
ltctceplrm
9f37561396 Changed back to No and Yes 2025-03-07 15:27:38 +01:00
ltctceplrm
be7598d101 Changed button setup for internal consistency
The buttons are now Cancel and Ok rather than Yes and No, they also have the correct order and color for the Ok button
2025-03-06 13:45:18 +01:00
ltctceplrm
d24b2d7271 Revert "Changed overwrite confirmation to only appear on new notes"
This reverts commit 46952218de.
2025-03-06 13:26:41 +01:00
ltctceplrm
46952218de Changed overwrite confirmation to only appear on new notes
Overwrite confirmation should only appear if a new note is created, not when updating the metadata for an existing note.
2025-03-05 22:33:30 +01:00
ltctceplrm
266bb99a31 Added conversion from MALAPI Manga to MALAPIManga 2025-03-05 22:07:51 +01:00
ltctceplrm
cc30e60d92 Reverted change, spaces shouldn't be allowed in API names to ensure compatibility 2025-03-05 21:50:29 +01:00
ltctceplrm
af6009f1ac Revert "Added a fix for api's with spaces in their names"
This reverts commit 98e96b15c7.
2025-03-05 21:47:18 +01:00
ltctceplrm
98e96b15c7 Added a fix for api's with spaces in their names 2025-03-05 19:17:59 +01:00
ltctceplrm
e09737a090 Removed logging and fixed error for comicmanga 2025-03-05 18:45:37 +01:00
ltctceplrm
daeefb9688 Possible fix for the flat structured arrays 2025-03-05 18:16:47 +01:00
ltctceplrm
7a0f8e03bb Changed for.each loops to for loops 2025-03-05 17:24:50 +01:00