Flexget / Flexget

The official FlexGet repository
http://www.flexget.com
MIT License
1.73k stars 471 forks source link

kodi_library plugin does not allow localhost, only full address http://1.2.3.4 #2285

Closed zilexa closed 5 years ago

zilexa commented 5 years ago

This is just a minor one, when flexget and kodi are installed on the same device. works (only with http://):

    kodi_library:
      action: clean
      category: video
      url: http://192.168.1.10
      port: 8080    

does not work:

    kodi_library:
      action: clean
      category: video
      url: localhost
      port: 8080

other plugins like transmission allow localhost instead of full address.

cvium commented 5 years ago

Only allowing "real" urls is the norm, transmission is a little special in that its url parameter is split into host, port etc.

It's not something I'm going to fix (mostly because I don't use Kodi anymore), but feel free to create a PR.

paranoidi commented 5 years ago

@cvium what's with "Not A Bug" label? :)

Let's just close the issues.

gazpachoking commented 5 years ago

@zilexa You can use http://localhost