Add-on:Where Are You

From Official Kodi Wiki
Jump to navigation Jump to search

Where Are You
icon.png

See this add-on on the kodi.tv showcase

Author: pkscout

Type: Program
Repo: Kodi.tv repo v21
Kodi.tv repo v20

License: GPL-2.0-only
Source: Source code
Summary: Plugin module to display a custom dialog box when playing external media.
Home icon grey.png   ▶ Add-ons ▶ Where Are You
Attention talk.png Need help with this add-on? See here.

Where Are You is a plugin for Kodi that accepts a URL from a stream file and then displays a dialog box with the title and message from the stream file URL. After the dialog is dismissed a black video plays for 2 seconds. This is basically to do what the media stub file does (which is display a title and a message for a given file), but for streaming files because the media stub only works if you have an optical drive attached to the device running Kodi.

Installing

This add-on is installed from the Add-on browser located in Kodi as follows:

  1. Settings
  2. Add-ons
  3. Install from repository
  4. Program Add-ons
  5. Where Are You
  6. Install

About

Where Are You is a plugin for Kodi that accepts a URL from a stream file and then displays a dialog box with the title and message from the stream file URL. After the dialog is dismissed a black video plays for 2 seconds. This is basically to do what the media stub file does (which is display a title and a message for a given file), but for streaming files because the media stub only works if you have an optical drive attached to the device running Kodi.

Usage

The stream file is just a text file with a URL in it. The format of the URL is:

plugin://plugin.whereareyou?empty=pad&title=Available+streaming&message=This+is+available+via+the+Netflix+app+on+the+TV

The stream file should be named in a way that Kodi can scrape it as a TV show:

My.TV.Show.S01.E01.My.Episode.strm

or a movie:

My.Great.Movie (2020).strm

Place the stream file in a location you have defined as a source and then scan the stream files into your library. Now when you play them you'll get a dialog box telling you were to find the TV show or movie (like the Disney+ app on your Smart TV).

Generating the Stream Files

I also wrote a little python3 command line tool to generate the stream files. That command line tool is available at:

https://github.com/pkscout/create.kodi.mediastubs/releases/

Credits

The icon is Compass by Diane from the Noun Project.