Skip to content

Commit 9779ad3

Browse files
committed
Merge branch 'master' into release
2 parents a48c7e1 + 61ebbc8 commit 9779ad3

15 files changed

+705
-78
lines changed

README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,23 @@ title -> name
4242
year -> releaseYear
4343
```
4444

45+
#### Bulk Import
46+
The plugin allows you to import your preexisting media collection and upgrade them to Media DB entries.
47+
48+
##### Prerequisites
49+
The preexisting media notes must be inside a folder in your vault.
50+
For the plugin to be able to query them they need one metadata field that is used as the title the piece of media is searched by.
51+
This can be achieved by for example using a `csv` import plugin to import an existing list from outside of obsidian.
52+
53+
##### Importing
54+
To start the import process, right-click on the folder and select the `Import folder as Media DB entries` option.
55+
Then specify the API to search, if the current note content and metadata should be appended to the Media DB entry and the name of the metadata field that contains the title of the piece of media.
56+
57+
Then the plugin will go through every file in the folder and prompt you to select from the search results.
58+
59+
##### Post import
60+
After all files have been imported or the import was canceled, you will find the new entries as well as an error report that contains any errors or skipped/canceled files in the folder specified in the setting of the plugin.
61+
4562
### How to install
4663
**The plugin is now released, so it can be installed directly through obsidian's plugin installer.**
4764

@@ -113,6 +130,14 @@ Now you select the result you want and the plugin will cast it's magic and creat
113130
You are more than welcome to open an issue on [GitHub](https://github.com/mProjectsCode/obsidian-media-db-plugin/issues).
114131

115132
### Changelog
133+
#### 0.3.0
134+
- Added bulk import. Import a folder of media notes as Media DB entries (thanks to [PaperOrb](https://github.com/PaperOrb) on GitHub for their input and for helping me test this feature)
135+
- Added a custom result select modal that allows you to select multiple results at once
136+
- Fixed a bug where the note creation would fail when the metadata included a field with the values `null` or `undefined`
137+
138+
#### 0.2.1
139+
- fixed a small bug with the initial selection of an API in the ID search modal
140+
116141
#### 0.2.0
117142
- Added the option to rename metadata fields through property mappings
118143
- fixed note creation falling, when the folder set in the settings did not exist

manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"id": "obsidian-media-db-plugin",
33
"name": "Media DB Plugin",
4-
"version": "0.2.1",
4+
"version": "0.3.0",
55
"minAppVersion": "0.14.0",
6-
"description": "A plugin that can query multiple APIs for movies, series, anime, games, music and wiki articles, and import them into your vault. ",
6+
"description": "A plugin that can query multiple APIs for movies, series, anime, games, music and wiki articles, and import them into your vault.",
77
"author": "Moritz Jung",
88
"authorUrl": "https://mprojectscode.github.io/",
99
"isDesktopOnly": false

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
22
"name": "obsidian-media-db-plugin",
3-
"version": "0.1.0",
4-
"description": "Coming soon TM",
3+
"version": "0.3.0",
4+
"description": "A plugin that can query multiple APIs for movies, series, anime, games, music and wiki articles, and import them into your vault.",
55
"main": "main.js",
66
"scripts": {
77
"dev": "node esbuild.config.mjs",
88
"build": "tsc -noEmit -skipLibCheck && node esbuild.config.mjs production",
99
"version": "node version-bump.mjs && git add manifest.json versions.json"
1010
},
1111
"keywords": [],
12-
"author": "",
13-
"license": "MIT",
12+
"author": "Moritz Jung",
13+
"license": "GPL-3.0",
1414
"devDependencies": {
1515
"@popperjs/core": "^2.11.5",
1616
"@types/node": "^16.11.6",

0 commit comments

Comments
 (0)