Support "Internationalised Domain Names"

Issue #660 wontfix
Former user created an issue

Characters outside of US-ASCII do appear in various URLs. Serviio doesn't appear to support them which makes some online streams defunct.

https://www.iis.se/docs/teckentabell-04.pdf

Comments (6)

  1. Former user Account Deleted

    Using the SVTplay groovy plugin, http://www.oppetarkiv.se/etikett/titel/Värsta%20språket/ fails to resolve.

    According to the author, ottomatic, this is not an issue with the plugin. Here's the plugin if you want to take a look at it: http://forum.serviio.org/viewtopic.php?f=20&t=8062&start=180#p68148

    2013-05-03 08:33:11,313 WARN  [OnlineContentCacheDecorator] Could not store object to local cache (online_feeds): Value must not be null
    2013-05-03 08:33:11,314 WARN  [FeedUpdaterThread] An error occured while scanning for online item information, will continue
    java.lang.NullPointerException
        at org.serviio.library.online.OnlineLibraryManager.getEarliestItemExpiryDate(OnlineLibraryManager.java:313)
        at org.serviio.library.online.OnlineLibraryManager.storeResourceExpiryDate(OnlineLibraryManager.java:358)
        at org.serviio.library.online.OnlineLibraryManager.findResource(OnlineLibraryManager.java:177)
        at org.serviio.library.online.OnlineLibraryManager.findResourceInCacheOrParse(OnlineLibraryManager.java:186)
        at org.serviio.library.online.metadata.FeedUpdaterThread.getOnlineItems(FeedUpdaterThread.java:159)
        at org.serviio.library.online.metadata.FeedUpdaterThread.run(FeedUpdaterThread.java:96)
    
  2. Petr Nejedly repo owner

    Can you prvide a URL that works with the plugin? the opertaktiv domain is not matched.

  3. Petr Nejedly repo owner

    I haven't looked at the plugin, but it looks like the plugin returns null.

    16:51:02,377 DEBUG [WebResourceParser] Parsing web resource 'http://www.oppetarkiv.se/etikett/titel/Värsta%20språket/'
    16:51:02,379 DEBUG [WebResourceParser] Found matching url extractor (OppetArkiv) for resource http://www.oppetarkiv.se/etikett/titel/Värsta%20språket/
    16:51:02,379 DEBUG [FeedItemUrlExtractor] OppetArkiv: Starting parsing resource: http://www.oppetarkiv.se/etikett/titel/Värsta%20språket/
    16:51:02,393 DEBUG [FeedItemUrlExtractor] OppetArkiv: OppetArkiv: extracting items for url: http://www.oppetarkiv.se/etikett/titel/Värsta%20språket/ , maxItemsToRetrieve: 20
    16:51:02,680 WARN  [WebResourceParser] Plugin returned null container
    16:51:02,680 WARN  [OnlineContentCacheDecorator] Could not store object to local cache (online_feeds): Value must not be null
    

    Serviio passes the unencoded version to the plugin, so it should deal with it.

  4. Log in to comment