Commit Graph

1196 Commits

Author SHA1 Message Date
Patrick Farwick
a0a819f4b3 Add unit test for ComicInfoXmlUtilities 2022-11-24 15:17:58 +00:00
Patrick Farwick
cf799cdf35 Add a project for unit tests via xUnit 2022-11-24 15:14:38 +00:00
无语
e5269a981c
Update EpubMetadataImageProvider.cs 2022-08-29 11:29:16 +08:00
jellyfin-bot
15f1c6f1f2
Bump version to 9 (#59) 2022-08-07 14:40:47 +02:00
Patrick
06caf9fdb5
Add development setup for Visual Studio Code (#64)
* Add development setup for Visual Studio Code

The implementation of the development setup is based upon the
implementation in the plugin template repository with addition of proper
linux support.

The ${env:XDG_DATA_HOME} variable is not used, as this variable resolves
to the current working directory within Visual Studio Code's development
container. By manually specifying the file path, it is possible to use
Visual Studio Code's development container.

The "mkdir" command uses the "-p" flag. This flag creates the parent
directories, as well. Should they already exists, the command moves
down to the next folder to create without throwing an error.

The "-r" parameter of the "cp" is required to recursively copy all
files and directories within the "publish" directory.

* Add required extensions to Visual Studio Code
2022-08-07 14:35:19 +02:00
renovate[bot]
9c2077f780
chore(deps): update dependency sharpcompress to v0.32.2 (#62)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-07 14:26:34 +02:00
Cody Robibero
cab894f09e
Merge pull request #65 from jellyfin/deserializestring 2022-08-05 13:32:23 -06:00
Bond_009
2aa795c1d9 Use JsonSerializer.Deserialize overload that accepts a string 2022-08-01 19:21:54 +02:00
renovate[bot]
fcb473f6f1
chore(deps): update dependency sharpcompress to v0.32.0 (#61)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-13 18:49:57 +02:00
Cody Robibero
746433ac6d
Merge pull request #60 from jellyfin/renovate/sharpcompress-0.x 2022-05-30 10:20:55 -06:00
Renovate Bot
e57b107614
chore(deps): update dependency sharpcompress to v0.31.0 2022-05-30 16:06:30 +00:00
Cody Robibero
1ed9ed9089
Merge pull request #58 from h1dden-da3m0n/fix/bump-ci 2022-05-15 20:24:01 -04:00
K3rnelPan1c
3f1862b5a7 fix: meta ci workflows 2022-05-15 23:23:57 +02:00
Cody Robibero
7ca6982cee
Merge pull request #41 from jellyfin/prepare-8 2022-03-27 18:00:48 -06:00
Cody Robibero
c3be769df3
Update build.yaml 2022-03-27 18:00:38 -06:00
jellyfin-bot
55082a081b Bump version to 8 2022-03-22 23:03:40 +00:00
Cody Robibero
26b7d73615
Merge pull request #55 from MinecraftPlaye/update-readme 2022-03-22 16:50:27 -06:00
Patrick Farwick
b7d03f0970 Update supported metadata providers and file types
All metadata providers this plugin provides are being listed in the
appropriate places.

The list of supported file types is being supplemented by the addition
of some audio book file types. Due to the immense list of audio file
types that are supported by Jellyfin, only a few selected are being
mentioned. Those should include the most commonly used file types for
audio books.
2022-03-21 00:04:39 +00:00
Cody Robibero
6052ad0a03
Merge pull request #54 from jellyfin/ci 2022-03-19 09:28:31 -06:00
K3rnelPan1c
04f55a6f25
bump version 2022-03-19 15:48:02 +01:00
Cody Robibero
fefe985044 Use meta ci 2022-03-19 08:15:38 -06:00
Cody Robibero
d01dea6971
Merge pull request #47 from MinecraftPlaye/opf-cleanup 2022-01-19 07:05:38 -07:00
Patrick Farwick
9267256e35 Declare and initialize dateValue in the same line 2022-01-19 13:53:29 +00:00
Patrick Farwick
24df4b3e3d Use TryParse to parse the date time value 2022-01-19 11:50:11 +00:00
Patrick Farwick
91781be201 Read date and language information from opf 2022-01-19 00:37:57 +01:00
Cody Robibero
b81dfa6d26
Merge pull request #46 from jellyfin/dependabot/github_actions/release-drafter/release-drafter-5.17.5 2022-01-18 15:10:56 -07:00
Cody Robibero
0eccb9213c
Merge pull request #43 from jellyfin/dependabot/nuget/sharpcompress-0.30.1 2022-01-18 15:10:46 -07:00
Cody Robibero
6e9510bc41
Merge pull request #44 from jellyfin/normalization-form 2022-01-18 15:10:33 -07:00
Cody Robibero
731421f1a1
Merge pull request #45 from MinecraftPlaye/opf-cleanup 2022-01-18 15:09:39 -07:00
dependabot[bot]
9e479883b5
chore(deps): bump release-drafter/release-drafter from 5.15.0 to 5.17.5
Bumps [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter) from 5.15.0 to 5.17.5.
- [Release notes](https://github.com/release-drafter/release-drafter/releases)
- [Commits](https://github.com/release-drafter/release-drafter/compare/v5.15.0...v5.17.5)

---
updated-dependencies:
- dependency-name: release-drafter/release-drafter
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-17 00:27:15 +00:00
Patrick Farwick
8233ac6c3e Refactor opf metadata reader for readability
The image provider for ePuBs read the opf metadata file and various code
segments in the OpfReader class were duplicated code.

This commit refactors the opf reader for readability. Additionally, it
moves opf related code from the ePuB image provider into the opf reader.
2022-01-16 23:27:49 +00:00
Cody Robibero
906e1d1995 Use proper NormalziationForm 2021-12-20 07:31:43 -07:00
dependabot[bot]
2d6e9ca15a
chore(deps): bump sharpcompress from 0.30.0 to 0.30.1
Bumps [sharpcompress](https://github.com/adamhathcock/sharpcompress) from 0.30.0 to 0.30.1.
- [Release notes](https://github.com/adamhathcock/sharpcompress/releases)
- [Commits](https://github.com/adamhathcock/sharpcompress/compare/0.30...0.30.1)

---
updated-dependencies:
- dependency-name: sharpcompress
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-23 00:14:55 +00:00
Cody Robibero
20c78b2e7f
Merge pull request #42 from jellyfin/fix-build 2021-11-19 07:22:47 -07:00
Cody Robibero
f5f5aa7e95 suggestions from review 2021-11-19 07:22:38 -07:00
Cody Robibero
6398dcb36e Update ruleset and fix build 2021-11-18 18:28:57 -07:00
Cody Robibero
b7d14d5e23
Merge pull request #28 from jellyfin/analyze 2021-11-06 12:05:38 -06:00
Cody Robibero
79a51dda5e More analyze 2021-11-06 11:45:58 -06:00
Cody Robibero
9dc2cf2a36 Merge branch 'master' into analyze 2021-11-06 10:40:50 -06:00
Cody Robibero
377bfceace
Merge pull request #38 from MinecraftPlaye/feature-comicbookinfo-metadata 2021-11-06 10:39:53 -06:00
Patrick Farwick
c4c402bacb Use Jellyfin's JsonDefaults.Options 2021-11-06 15:49:33 +00:00
Patrick Farwick
24fd14062b Fix a forgotten using's keyword 2021-11-06 14:08:10 +00:00
Patrick Farwick
c058bc9538 Assume every json entry may be null
Depending on the tool used to save the metadata to the file, not every
value is properly saved. Before storing a null value in the database,
skip this value.
2021-11-04 22:42:24 +00:00
Patrick Farwick
52c0f4b9e9 Merge remote-tracking branch 'upstream/master' into feature-comicbookinfo-metadata 2021-11-02 22:21:19 +00:00
Cody Robibero
03410a09f5
Merge pull request #40 from jellyfin/prepare-7 2021-11-01 14:56:35 -06:00
jellyfin-bot
b4de11ab3b Bump version to 7 2021-11-01 18:42:49 +00:00
Claus Vium
4341603f1e
Merge pull request #33 from jellyfin/10.8
10.8 support
2021-11-01 19:42:29 +01:00
Cody Robibero
5011d7d711
Merge branch 'master' into 10.8 2021-11-01 11:17:25 -06:00
Cody Robibero
18c93dc492 Fix build 2021-11-01 11:10:04 -06:00
Patrick Farwick
67bd6f705b Use the common interface IComicFileProvider 2021-10-31 23:39:52 +00:00