butterscotchstallion / limnoria-plugins

A smattering of Limnoria plugins I've written
MIT License
14 stars 14 forks source link

Adding Mimetypes #93

Closed informationist closed 7 years ago

informationist commented 7 years ago

hi.

"unacceptable mime type image/jpeg for url https://blog.imgur.com/wp-content/uploads/2016/01/OeiRVAS.jpg"

i know there's command to add mime type but it fails. how do i add extra mime types exactly to support all file types? (if no title available, it can give resolution, fine name or any available data about file)

butterscotchstallion commented 7 years ago

It's a configuration value, actually! Set the "mimeTypes" value - it's a comma separated value. Please reopen if this doesn't answer your question.

informationist commented 7 years ago

hi. i already tried witg/without comma before file this issue. i can't fine the right way. my purpose is to support all file types on links. like jpeg image on this example. let me know if this is wrong setting;

.config supybot.plugins.spiffytitles.mimetypes text/html,image/jpeg

debug log; "unacceptable mime type image/jpeg for url https://blog.imgur.com/wp-content/uploads/2016/01/OeiRVAS.jpg"