<feed xmlns='http://www.w3.org/2005/Atom'>
<title>jellyfin/tests/Jellyfin.Model.Tests/Net, branch v10.11.0-rc8</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>https://git.lodewillems.com/jellyfin/atom?h=v10.11.0-rc8</id>
<link rel='self' href='https://git.lodewillems.com/jellyfin/atom?h=v10.11.0-rc8'/>
<link rel='alternate' type='text/html' href='https://git.lodewillems.com/jellyfin/'/>
<updated>2024-02-15T22:15:14Z</updated>
<entry>
<title>Add missing MIME types for comicbook formats (#11010)</title>
<updated>2024-02-15T22:15:14Z</updated>
<author>
<name>Robert Lützner</name>
<email>robert.luetzner@pm.me</email>
</author>
<published>2024-02-15T22:15:14Z</published>
<link rel='alternate' type='text/html' href='https://git.lodewillems.com/jellyfin/commit/?id=2bd85df383ec70251a8cdf9802963e29b52b60a4'/>
<id>urn:sha1:2bd85df383ec70251a8cdf9802963e29b52b60a4</id>
<content type='text'>
* Correct MIME types for comicbook file extensions

cb7, cba, cbr, cbt and cbz all refer to different types of digital
comicbooks. The last letter of the extension indicates the compression
algorithm that was used: 7zip, arc, rar, tar or zip.

All these filetypes used to have the `application/x-cbr` MIME type
assigned to them. However, that has since been deprecated and was
replaced with

- `application/vnd.comicbook-rar` for rar compressed files and
- `application/vnd.comicbook+zip` for rar compressed files.

Only these two are officially listed by IANA

https://www.iana.org/assignments/media-types/application/vnd.comicbook+zip

. cbr and cbz are by far the most common file extensions for comicbooks.

There's no official MIME type for cb7, cba or cbt files. However, with
rar being a proprietary compression algorithm, FOSS applications will
often refuse to handle files that identify themselves as
`application/x-cbr`, so I decided to assign extension specific MIME
types to them. I've seen these being used by other applications,
specifically comic book readers.

I've read through the docs on iana.org, but haven't figured out why they
chose `-rar`, but `+zip`.

* Add conversions from MIME type to file extensions for comicbook formats

cb7, cba, cbr, cbt and cbz all refer to different types of digital
comicbooks. The last letter of the extension indicates the compression
algorithm that was used: 7zip, arc, rar, tar or zip.

All these filetypes used to have the `application/x-cbr` MIME type
assigned to them. However, that has since been deprecated and was
replaced with

- `application/vnd.comicbook-rar` for rar compressed files and
- `application/vnd.comicbook+zip` for rar compressed files.

Only these two are officially listed by IANA

https://www.iana.org/assignments/media-types/application/vnd.comicbook+zip

. cbr and cbz are by far the most common file extensions for comicbooks.

There's no official MIME type for cb7, cba or cbt files. However, with
rar being a proprietary compression algorithm, FOSS applications will
often refuse to handle files that identify themselves as
`application/x-cbr`, so I decided to assign extension specific MIME
types to them. I've seen these being used by other applications,
specifically comic book readers.

* Update CONTRIBUTORS.md</content>
</entry>
<entry>
<title>Correct m4b mimetype (#10980)</title>
<updated>2024-02-11T04:39:30Z</updated>
<author>
<name>felix920506</name>
<email>felix920506@gmail.com</email>
</author>
<published>2024-02-11T04:39:30Z</published>
<link rel='alternate' type='text/html' href='https://git.lodewillems.com/jellyfin/commit/?id=aaa9345a533d6e8c3fa10b12672de4766ef12070'/>
<id>urn:sha1:aaa9345a533d6e8c3fa10b12672de4766ef12070</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix tests</title>
<updated>2023-02-16T14:08:04Z</updated>
<author>
<name>Bond_009</name>
<email>bond.009@outlook.com</email>
</author>
<published>2023-01-10T16:15:21Z</published>
<link rel='alternate' type='text/html' href='https://git.lodewillems.com/jellyfin/commit/?id=a38cb3ade8f3dc50e1a5d968c6b6ac68306bc5bb'/>
<id>urn:sha1:a38cb3ade8f3dc50e1a5d968c6b6ac68306bc5bb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove incorrect mime type image/jpg</title>
<updated>2022-01-04T09:40:16Z</updated>
<author>
<name>Bond_009</name>
<email>bond.009@outlook.com</email>
</author>
<published>2022-01-04T09:40:16Z</published>
<link rel='alternate' type='text/html' href='https://git.lodewillems.com/jellyfin/commit/?id=dc222b75c55645fce521c572acebb16b278169a5'/>
<id>urn:sha1:dc222b75c55645fce521c572acebb16b278169a5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add image/jpg to extension lookup</title>
<updated>2021-12-25T18:41:39Z</updated>
<author>
<name>Cody Robibero</name>
<email>cody@robibe.ro</email>
</author>
<published>2021-12-25T18:41:39Z</published>
<link rel='alternate' type='text/html' href='https://git.lodewillems.com/jellyfin/commit/?id=6804624c1570806c6a090af657f05968d7a248d2'/>
<id>urn:sha1:6804624c1570806c6a090af657f05968d7a248d2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use correct jpeg MIME type</title>
<updated>2021-12-12T01:07:35Z</updated>
<author>
<name>Bond_009</name>
<email>bond.009@outlook.com</email>
</author>
<published>2021-12-12T01:07:35Z</published>
<link rel='alternate' type='text/html' href='https://git.lodewillems.com/jellyfin/commit/?id=7ee96a59d3b69e15aec1df33ad46f47021f8a20b'/>
<id>urn:sha1:7ee96a59d3b69e15aec1df33ad46f47021f8a20b</id>
<content type='text'>
image/jpg isn't a valid MIME type
</content>
</entry>
<entry>
<title>Update unit test name</title>
<updated>2021-12-04T15:14:52Z</updated>
<author>
<name>Ahmed Rafiq</name>
<email>ahmedrafiq47@gmail.com</email>
</author>
<published>2021-12-04T15:14:52Z</published>
<link rel='alternate' type='text/html' href='https://git.lodewillems.com/jellyfin/commit/?id=cf75f99f0e4d765cc7dfa928b3a508121f538db4'/>
<id>urn:sha1:cf75f99f0e4d765cc7dfa928b3a508121f538db4</id>
<content type='text'>
Co-authored-by: Claus Vium &lt;cvium@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>Update unit test name</title>
<updated>2021-12-04T15:14:16Z</updated>
<author>
<name>Ahmed Rafiq</name>
<email>ahmedrafiq47@gmail.com</email>
</author>
<published>2021-12-04T15:14:16Z</published>
<link rel='alternate' type='text/html' href='https://git.lodewillems.com/jellyfin/commit/?id=fa6f6515a6874a5fca4267c50e6c597a2042ad96'/>
<id>urn:sha1:fa6f6515a6874a5fca4267c50e6c597a2042ad96</id>
<content type='text'>
Co-authored-by: Claus Vium &lt;cvium@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>Use MimeTypes package to determine MIME type</title>
<updated>2021-12-04T14:08:16Z</updated>
<author>
<name>Ahmed Rafiq</name>
<email>ahmedrafiq47@gmail.com</email>
</author>
<published>2021-12-04T13:50:48Z</published>
<link rel='alternate' type='text/html' href='https://git.lodewillems.com/jellyfin/commit/?id=6193fdea698ad4486140bc6a00a9547ab979c8f7'/>
<id>urn:sha1:6193fdea698ad4486140bc6a00a9547ab979c8f7</id>
<content type='text'>
This simplifies the code since we don't have to keep large mappings of extensions and MIME types.

We still keep the ability to override the mappings for:
- filling in entries not present in the package, for e.g. ".azw3"
- picking preferred extensions, for e.g. MimeTypes provides ".conf" as a possible extionsion for "text/plain", and while that is correct, ".txt" would be preferrable
- compatibility reasons
</content>
</entry>
</feed>
