Adding Strm Files To The Library Xbmc

Strm

  1. Adding Strm Files To The Library Xbmc Free
  2. Adding Strm Files To The Library Xbmc Download


xbmc (version 2.20.0, Sun Aug 09 13:53:06 BST 2015)
index
(built-in)

You can now add virtual strm files to your MediaBrowser library If you have ever used XBMC/Kodi natively before you know what this is all about, if you have no idea, keep reading. Many add-ons for Kodi provide to possibility to 'add items to the library'. In the add-on settings from the video-addon you can provide a path to your library. XBMC is available for Linux, OSX, and Windows. Created in 2003 by a group of like minded programmers, XBMC is a non-profit project run and developed by volunteers located around the world. Using the Aeon MQ5 menu customisation feature, I added a new main menu item called CAMS and added in both the Security CAM Overlay add-on instances. I also created some.strm files for my IP cameras and some custom.nfo files to add them in to the Movies library, I then added them to favourites and in-turn added these favourites to the CAMS menu. Over the years, Kodi (formerly XBMC) has become one of the most popular media players. It provides all the essential functionality needed for any home theater setup while remaining open source and free. However, Kodi is not limited to just your living room. With the Kodi app for iOS or Android, you get a streaming media player that can act as a video player, music player, picture gallery,.

Adding strm files to the library xbmc free

Adding Strm Files To The Library Xbmc Free

First, thanks for your time - I really like PTVL. So I am confused, but I have already read the main PTVL thread, the first 20 or so pages, and have also read a lot from the MyLibrary thread over this past week and a half, and my understanding was you could set up Netflix/hulu via MyLibrary - whose main thread does mention PlayOn but I wasn't aware it was a necessity for hulu/Netflix.


Classes
__builtin__.object
InfoTagMusic
InfoTagVideo
Keyboard
Monitor
PlayList
Player
RenderCapture


class InfoTagMusic(__builtin__.object)
InfoTagMusic class.
Methods defined here:
getAlbum(...)
getAlbum() --returns a string.
getAlbumArtist(...)
getAlbumArtist() --returns a string.
getArtist(...)
getArtist() --returns a string.
getComment(...)
getComment() --returns a string.
getDisc(...)
getDisc() --returns an integer.
getDuration(...)
getDuration() --returns an integer.
getGenre(...)
getGenre() --returns a string.
getLastPlayed(...)
getLastPlayed() --returns a string.
getListeners(...)
getListeners() --returns an integer.
getLyrics(...)
getLyrics() --returns a string.
getPlayCount(...)
getPlayCount() --returns an integer.
getReleaseDate(...)
getReleaseDate() --returns a string.
getTitle(...)
getTitle() --returns a string.
getTrack(...)
getTrack() --returns an integer.
getURL(...)
getURL() --returns a string.
Data and other attributes defined here:
__new__ = <built-in method __new__ of type object>
T.__new__(S, ...) -> a new object with type S, a subtype of T


class InfoTagVideo(__builtin__.object)
Methods defined here:
getCast(...)
getCast() - returns a string.
getDirector(...)
getDirector() - returns a string.
getFile(...)
getFile() - returns a string.
getFirstAired(...)
getFirstAired() - returns a string.
getGenre(...)
getGenre() - returns a string.
getIMDBNumber(...)
getIMDBNumber() - returns a string.
getLastPlayed(...)
getLastPlayed() --returns a string.
getOriginalTitle(...)
getOriginalTitle() - returns a string.
getPath(...)
getPath() - returns a string.
getPictureURL(...)
getPictureURL() - returns a string.
getPlayCount(...)
getPlayCount() --returns a integer.
getPlot(...)
getPlot() - returns a string.
getPlotOutline(...)
getPlotOutline() - returns a string.
getPremiered(...)
getPremiered() - returns a string.
getRating(...)
getRating() - returns a float (double where supported)
getTagLine(...)
getTagLine() - returns a string.
getTitle(...)
getTitle() - returns a string.
getVotes(...)
getVotes() - returns a string.
getWritingCredits(...)
getWritingCredits() - returns a string.
getYear(...)
getYear() - returns an integer.
Data and other attributes defined here:
__new__ = <built-in method __new__ of type object>
T.__new__(S, ...) -> a new object with type S, a subtype of T


class Keyboard(__builtin__.object)
Keyboard class.
Keyboard([default, heading, hidden])--Creates a newKeyboard object with default text
heading and hidden input flag if supplied.
default : [opt] string - default text entry.
heading : [opt] string - keyboard heading.
hidden : [opt] boolean - True for hidden text entry.
example:
- kb =xbmc.Keyboard ('default', 'heading', True)
- kb.setDefault('password') # optional
- kb.setHeading('Enter password') # optional
- kb.setHiddenInput(True) # optional
- kb.doModal()
- if (kb.isConfirmed()):
- text = kb.getText()
Methods defined here:
doModal(...)
doModal([autoclose])--Show keyboard and wait for user action.
autoclose : [opt] integer - milliseconds to autoclose dialog. (default=do not autoclose)
example:
- kb.doModal(30000)
getText(...)
getText() --Returns the user input as a string.
*Note, This will always return the text entry even if you cancel the keyboard.
Use theisConfirmed() method to check if user cancelled the keyboard.
example:
- text = kb.getText()
isConfirmed(...)
isConfirmed() --Returns False if the user cancelled the input.
example:
- if (kb.isConfirmed()):
setDefault(...)
setDefault(default)--Set the default text entry.
default : string - default text entry.
example:
- kb.setDefault('password')
setHeading(...)
setHeading(heading)--Set the keyboard heading.
heading : string - keyboard heading.
example:
- kb.setHeading('Enter password')
setHiddenInput(...)
setHiddenInput(hidden)--Allows hidden text entry.
hidden : boolean - True for hidden text entry.
example:
- kb.setHiddenInput(True)
Data and other attributes defined here:
__new__ = <built-in method __new__ of type object>
T.__new__(S, ...) -> a new object with type S, a subtype of T


class Monitor(__builtin__.object)
Monitor class.
Monitor()--Creates a newMonitor to notify addon about changes.
Methods defined here:
abortRequested(...)
abortRequested() --Returns True if abort has been requested.
onAbortRequested(...)
onAbortRequested() --Deprecated, usewaitForAbort() to be notified about this event.
onCleanFinished(...)
onCleanFinished(library)--onCleanFinished method.
library : video/music as string
Will be called when library clean has ended and return video or music to indicate which library has been cleaned
onCleanStarted(...)
onCleanStarted(library)--onCleanStarted method.
library : video/music as string
Will be called when library clean has started and return video or music to indicate which library is being cleaned
onDPMSActivated(...)
onDPMSActivated() --onDPMSActivated method.
Will be called when energysaving/DPMS gets active
onDPMSDeactivated(...)
onDPMSDeactivated() --onDPMSDeactivated method.
Will be called when energysaving/DPMS is turned off
onDatabaseScanStarted(...)
onDatabaseScanStarted(database)--Deprecated, useonScanStarted() .
onDatabaseUpdated(...)
onDatabaseUpdated(database)--Deprecated, useonScanFinished() .
onNotification(...)
onNotification(sender, method, data)--onNotification method.
sender : sender of the notification
method : name of the notification
data : JSON-encoded data of the notification
Will be called when Kodi receives or sends a notification
onScanFinished(...)
onScanFinished(library)--onScanFinished method.
library : video/music as string
Will be called when library scan has ended and return video or music to indicate which library has been scanned
onScanStarted(...)
onScanStarted(library)--onScanStarted method.
library : video/music as string
Will be called when library scan has started and return video or music to indicate which library is being scanned
onScreensaverActivated(...)
onScreensaverActivated() --onScreensaverActivated method.
Will be called when screensaver kicks in
onScreensaverDeactivated(...)
onScreensaverDeactivated() --onScreensaverDeactivated method.
Will be called when screensaver goes off
onSettingsChanged(...)
onSettingsChanged() --onSettingsChanged method.
Will be called when addon settings are changed
waitForAbort(...)
waitForAbort([timeout])--Block until abort is requested, or until timeout occurs. If an abort requested have already been made, return immediately.
Returns True when abort have been requested, False if a timeout is given and the operation times out.
timeout : [opt] float - timeout in seconds. Default: no timeout.
Data and other attributes defined here:
__new__ = <built-in method __new__ of type object>
T.__new__(S, ...) -> a new object with type S, a subtype of T


class PlayList(__builtin__.object)
Methods defined here:
__getitem__(...)
x.__getitem__(y) <> x[y]
__len__(...)
x.__len__() <> len(x)
add(...)
add(url[, listitem, index])--Adds a new file to the playlist.
url : string or unicode - filename or url to add.
listitem : [opt] listitem - used with setInfo() to set different infolabels.
index : [opt] integer - position to add playlist item. (default=end)
*Note, You can use the above as keywords for arguments and skip certain optional arguments.
Once you use a keyword, all following arguments require the keyword.
example:
- playlist =xbmc.PlayList (xbmc.PLAYLIST_VIDEO)
- video = 'F:moviesIronman.mov'
- listitem =xbmcgui.ListItem ('Ironman', thumbnailImage='F:moviesIronman.tbn')
- listitem.setInfo('video', {'Title': 'Ironman', 'Genre': 'Science Fiction'})
- playlist.add(url=video, listitem=listitem, index=7)n
clear(...)
clear() --clear all items in the playlist.
getPlayListId(...)
getPlayListId() --returns an integer.
getposition(...)
getposition() --returns the position of the current song in this playlist.
load(...)
load(filename)--Load a playlist.
clear current playlist and copy items from the file to this Playlist filename can be like .pls or .m3u ...
returns False if unable to load playlist
remove(...)
remove(filename)--remove an item with this filename from the playlist.
shuffle(...)
shuffle() --shuffle the playlist.
size(...)
size() --returns the total number of PlayListItems in this playlist.
unshuffle(...)
unshuffle() --unshuffle the playlist.
Data and other attributes defined here:
__new__ = <built-in method __new__ of type object>
T.__new__(S, ...) -> a new object with type S, a subtype of T


class Player(__builtin__.object)
Player class.
Player()--Creates a newPlayer class.
Methods defined here:
disableSubtitles(...)
DisableSubtitles()--disable subtitles
getAvailableAudioStreams(...)
getAvailableAudioStreams() --get Audio stream names
getAvailableSubtitleStreams(...)
getAvailableSubtitleStreams() --get Subtitle stream names
getMusicInfoTag(...)
getMusicInfoTag() --returns the MusicInfoTag of the current playing 'Song'.
Throws: Exception, if player is not playing a file or current file is not a music file.
getPlayingFile(...)
getPlayingFile() --returns the current playing file as a string.
Note: For LiveTV, returns a pvr:// url which is not translatable to an OS specific file or external url
Throws: Exception, if player is not playing a file.
getSubtitles(...)
getSubtitles() --get subtitle stream name
getTime(...)
getTime() --Returns the current time of the current playing media as fractional seconds.
Throws: Exception, if player is not playing a file.
getTotalTime(...)
getTotalTime() --Returns the total time of the current playing media in seconds. This is only accurate to the full second.
Throws: Exception, if player is not playing a file.
getVideoInfoTag(...)
getVideoInfoTag() --returns the VideoInfoTag of the current playing Movie.
Throws: Exception, if player is not playing a file or current file is not a movie file.
isPlaying(...)
isPlaying() --returns True is Kodi is playing a file.
isPlayingAudio(...)
isPlayingAudio() --returns True is Kodi is playing an audio file.
isPlayingVideo(...)
isPlayingVideo() --returns True if Kodi is playing a video.
onPlayBackEnded(...)
onPlayBackEnded() --onPlayBackEnded method.
Will be called when Kodi stops playing a file
onPlayBackPaused(...)
onPlayBackPaused() --onPlayBackPaused method.
Will be called when user pauses a playing file
onPlayBackResumed(...)
onPlayBackResumed() --onPlayBackResumed method.
Will be called when user resumes a paused file
onPlayBackSeek(...)
onPlayBackSeek(time, seekOffset)--onPlayBackSeek method.
time : integer - time to seek to.
seekOffset : integer - ?.
Will be called when user seeks to a time
onPlayBackSeekChapter(...)
onPlayBackSeekChapter(chapter)--onPlayBackSeekChapter method.
chapter : integer - chapter to seek to.
Will be called when user performs a chapter seek
onPlayBackSpeedChanged(...)
onPlayBackSpeedChanged(speed)--onPlayBackSpeedChanged method.
speed : integer - current speed of player.
*Note, negative speed means player is rewinding, 1 is normal playback speed.
Will be called when players speed changes. (eg. user FF/RW)
onPlayBackStarted(...)
onPlayBackStarted() --onPlayBackStarted method.
Will be called when Kodi starts playing a file
onPlayBackStopped(...)
onPlayBackStopped() --onPlayBackStopped method.
Will be called when user stops Kodi playing a file
onQueueNextItem(...)
onQueueNextItem() --onQueueNextItem method.
Will be called when user queues the next item
pause(...)
pause() --Pause or resume playing if already paused.
play(...)
play([item, listitem, windowed, startpos])--Play this item.
item : [opt] string - filename, url or playlist.
listitem : [opt] listitem - used with setInfo() to set different infolabels.
windowed : [opt] bool - true=play video windowed, false=play users preference.(default)
startpos : [opt] int - starting position when playing a playlist. Default = -1
*Note, If item is not given then thePlayer will try to play the current item
in the current playlist.
You can use the above as keywords for arguments and skip certain optional arguments.
Once you use a keyword, all following arguments require the keyword.
example:
- listitem =xbmcgui.ListItem ('Ironman')
- listitem.setInfo('video', {'Title': 'Ironman', 'Genre': 'Science Fiction'})
- xbmc.Player().play(url, listitem, windowed)
- xbmc.Player().play(playlist, listitem, windowed, startpos)
playnext(...)
playnext() --Play next item in playlist.
playprevious(...)
playprevious() --Play previous item in playlist.
playselected(...)
playselected() --Play a certain item from the current playlist.
seekTime(...)
seekTime() --Seeks the specified amount of time as fractional seconds. The time specified is relative to the beginning of the currently playing media file.
Throws: Exception, if player is not playing a file.
setAudioStream(...)
setAudioStream(stream)--set Audio Stream.
stream : int
example:
- setAudioStream(1)
setSubtitleStream(...)
setSubtitleStream(stream)--set Subtitle Stream
stream : int
example:
- setSubtitleStream(1)
setSubtitles(...)
setSubtitles() --set subtitle file and enable subtitlesn
showSubtitles(...)
showSubtitles(visible)--enable/disable subtitles
visible : boolean - True for visible subtitles.
example:
- xbmc.Player().showSubtitles(True)
stop(...)
stop() --Stop playing.
Data and other attributes defined here:
__new__ = <built-in method __new__ of type object>
T.__new__(S, ...) -> a new object with type S, a subtype of T


class RenderCapture(__builtin__.object)
Methods defined here:
capture(...)
capture(width, height [, flags])--issue capture request.
width : Width capture image should be rendered to
height : Height capture image should should be rendered to
flags : Optional. Flags that control the capture processing.
The value for 'flags' could be or'ed from the following constants:
- xbmc.CAPTURE_FLAG_CONTINUOUS : after a capture is done, issue a new capture request immediately
- xbmc.CAPTURE_FLAG_IMMEDIATELY : read out immediately whencapture() is called, this can cause a busy wait
getAspectRatio(...)
getAspectRatio() --returns aspect ratio of currently displayed video.
This may be called prior to callingRenderCapture.capture() .
getCaptureState(...)
getCaptureState() --returns processing state of capture request.
The returned value could be compared against the following constants:
- xbmc.CAPTURE_STATE_WORKING : Capture request in progress.
- xbmc.CAPTURE_STATE_DONE : Capture request done. The image could be retrieved withgetImage()
- xbmc.CAPTURE_STATE_FAILED : Capture request failed.
getHeight(...)
getHeight() --returns height of captured image as set during
RenderCapture.capture() . Returns 0 prior to calling capture.
getImage(...)
getImage() --returns captured image as a bytearray.
The size of the image isgetWidth() *getHeight() * 4
getImageFormat(...)
getImageFormat() --returns format of captured image: 'BGRA' or 'RGBA'.
getWidth(...)
getWidth() --returns width of captured image as set during
RenderCapture.capture() . Returns 0 prior to calling capture.
waitForCaptureStateChangeEvent(...)
waitForCaptureStateChangeEvent([msecs])--wait for capture state change event.
msecs : Milliseconds to wait. Waits forever if not specified.
The method will return 1 if the Event was triggered. Otherwise it will return 0.
Data and other attributes defined here:
__new__ = <built-in method __new__ of type object>
T.__new__(S, ...) -> a new object with type S, a subtype of T

Adding strm files to the library xbmc tv

Functions
audioResume(...)
audioResume()--Resume Audio engine.
example: xbmc.audioResume()
audioSuspend(...)
audioSuspend()--Suspend Audio engine.
example:
- xbmc.audioSuspend()
convertLanguage(...)
convertLanguage(language, format)--Returns the given language converted to the given format as a string.
language: string either as name in English, two letter code (ISO 639-1), or three letter code (ISO 639-2/T(B)
format: format of the returned language string
xbmc.ISO_639_1: two letter code as defined in ISO 639-1
xbmc.ISO_639_2: three letter code as defined in ISO 639-2/T or ISO 639-2/B
xbmc.ENGLISH_NAME: full language name in English (default)
example:
- language = xbmc.convertLanguage(English, xbmc.ISO_639_2)
enableNavSounds(...)
enableNavSounds(yesNo)--Enables/Disables nav sounds
yesNo : integer - enable (True) or disable (False) nav sounds
example:
- xbmc.enableNavSounds(True)
executeJSONRPC(...)
executeJSONRPC(jsonrpccommand)--Execute an JSONRPC command.
jsonrpccommand : string - jsonrpc command to execute.
List of commands -
example:
- response = xbmc.executeJSONRPC('{ 'jsonrpc': '2.0', 'method': 'JSONRPC.Introspect', 'id': 1 }')
executebuiltin(...)
executebuiltin(function)--Execute a built in Kodi function.
function : string - builtin function to execute.
List of functions -http://kodi.wiki/view/List_of_Built_In_Functions
example:
- xbmc.executebuiltin('RunXBE(c:avalaunch.xbe)')
executescript(...)
executescript(script)--Execute a python script.
script : string - script filename to execute.
example:
- xbmc.executescript('special://home/scripts/update.py')
getCacheThumbName(...)
getCacheThumbName(path)--Returns a thumb cache filename.
path : string or unicode - path to file
example:
- thumb = xbmc.getCacheThumbName('f:videosmovie.avi')
getCleanMovieTitle(...)
getCleanMovieTitle(path[, usefoldername])--Returns a clean movie title and year string if available.
path : string or unicode - String to clean
bool : [opt] bool - use folder names (defaults to false)
example:
- title, year = xbmc.getCleanMovieTitle('/path/to/moviefolder/test.avi', True)
getCondVisibility(...)
getCondVisibility(condition)--Returns True (1) or False (0) as a bool.
condition : string - condition to check.
List of Conditions -http://kodi.wiki/view/List_of_Boolean_Conditions
*Note, You can combine two (or more) of the above settings by using '+' as an AND operator,
'|' as an OR operator, '!' as a NOT operator, and '[' and ']' to bracket expressions.
example:
- visible = xbmc.getCondVisibility('[Control.IsVisible(41) + !Control.IsVisible(12)]')
getDVDState(...)
getDVDState()--Returns the dvd state as an integer.
return values are:
- 1 : xbmc.DRIVE_NOT_READY
- 16 : xbmc.TRAY_OPEN
- 64 : xbmc.TRAY_CLOSED_NO_MEDIA
- 96 : xbmc.TRAY_CLOSED_MEDIA_PRESENT
example:
- dvdstate = xbmc.getDVDState()
getFreeMem(...)
getFreeMem()--Returns the amount of free memory in MB as an integer.
example:
- freemem = xbmc.getFreeMem()
getGlobalIdleTime(...)
getGlobalIdleTime()--Returns the elapsed idle time in seconds as an integer.
example:
- t = xbmc.getGlobalIdleTime()
getIPAddress(...)
getIPAddress()--Returns the current ip address as a string.
example:
- ip = xbmc.getIPAddress()
getInfoImage(...)
getInfoImage(infotag)--Returns a filename including path to the InfoImage's thumbnail as a string.
infotag : string - infotag for value you want returned.
List of InfoTags -http://kodi.wiki/view/InfoLabels
example:
- filename = xbmc.getInfoImage('Weather.Conditions')
getInfoLabel(...)
getInfoLabel(infotag)--Returns an InfoLabel as a string.
infotag : string - infoTag for value you want returned.
List of InfoTags -http://kodi.wiki/view/InfoLabels
example:
- label = xbmc.getInfoLabel('Weather.Conditions')
getLanguage(...)
getLanguage([format], [region])--Returns the active language as a string.
format: [opt] format of the returned language string
- xbmc.ISO_639_1: two letter code as defined in ISO 639-1
- xbmc.ISO_639_2: three letter code as defined in ISO 639-2/T or ISO 639-2/B
- xbmc.ENGLISH_NAME: full language name in English (default)
region: [opt] append the region delimited by '-' of the language (setting) to the returned language string
example:
- language = xbmc.getLanguage(xbmc.ENGLISH_NAME)
getLocalizedString(...)
getLocalizedString(id)--Returns a localized 'unicode string'.
id : integer - id# for string you want to localize.
*Note, See strings.xml in } for which id
you need for a string.
example:
- locstr = xbmc.getLocalizedString(6)
getRegion(...)
getRegion(id)--Returns your regions setting as a string for the specified id.
id : string - id of setting to return
*Note, choices are (dateshort, datelong, time, meridiem, tempunit, speedunit)You can use the above as keywords for arguments.
example:
- date_long_format = xbmc.getRegion('datelong')
getSkinDir(...)
getSkinDir()--Returns the active skin directory as a string.
*Note, This is not the full path like 'special://home/addons/MediaCenter', but only 'MediaCenter'.
example:
- skindir = xbmc.getSkinDir()
getSupportedMedia(...)
getSupportedMedia(media)--Returns the supported file types for the specific media as a string.
media : string - media type
*Note, media type can be (video, music, picture).The return value is a pipe separated string of filetypes (eg. '.mov|.avi').
You can use the above as keywords for arguments.
example:
- mTypes = xbmc.getSupportedMedia('video')
log(...)
log(msg[, level])--Write a string to XBMC's log file and the debug window.
msg : string - text to output.
level : [opt] integer - log level to ouput at. (default=LOGNOTICE)
*Note, You can use the above as keywords for arguments and skip certain optional arguments.
Once you use a keyword, all following arguments require the keyword.
Text is written to the log for the following conditions.
- loglevel -1 (NONE, nothing at all is logged)
- loglevel 0 (NORMAL, shows LOGNOTICE, LOGERROR, LOGSEVERE and LOGFATAL)
- loglevel 1 (DEBUG, shows all) See pydocs for valid values for level.
example:
- xbmc.log(msg='This is a test string.', level=xbmc.LOGDEBUG));
makeLegalFilename(...)
makeLegalFilename(filename[, fatX])--Returns a legal filename or path as a string.
filename : string or unicode - filename/path to make legal
fatX : [opt] bool - True=Xbox file system(Default)
*Note, If fatX is true you should pass a full path. If fatX is false only pass the basename of the path.
You can use the above as keywords for arguments and skip certain optional arguments.
Once you use a keyword, all following arguments require the keyword.
example:
- filename = xbmc.makeLegalFilename('F: Age: The Meltdown.avi')
playSFX(...)
playSFX(filename,[useCached])--Plays a wav file by filename
filename : string - filename of the wav file to play.
useCached : [opt] bool - False = Dump any previously cached wav associated with filename
example:
- xbmc.playSFX('special://xbmc/scripts/dingdong.wav')
- xbmc.playSFX('special://xbmc/scripts/dingdong.wav',False)
restart(...)
restart()--Restart the htpc. example:
- xbmc.restart()
shutdown(...)
Shutdown()--Shutdown the htpc.
example:
- xbmc.shutdown()
skinHasImage(...)
skinHasImage(image)--Returns True if the image file exists in the skin.
image : string - image filename
*Note, If the media resides in a subfolder include it. (eg. home-myfileshome-myfiles2.png)You can use the above as keywords for arguments.
example:
- exists = xbmc.skinHasImage('ButtonFocusedTexture.png')
sleep(...)
sleep(time)--Sleeps for 'time' msec.
time : integer - number of msec to sleep.
*Note, This is useful if you have for example aPlayer class that is waiting
for onPlayBackEnded() calls.
Throws: PyExc_TypeError, if time is not an integer.
example:
- xbmc.sleep(2000) # sleeps for 2 seconds
startServer(...)
startServer(typ, bStart, bWait)--start or stop a server.
typ : integer - use SERVER_* constants
bStart : bool - start (True) or stop (False) a server
bWait : [opt] bool - wait on stop before returning (not supported by all servers)
returnValue : bool - True or False
example:
- xbmc.startServer(xbmc.SERVER_AIRPLAYSERVER, False)
stopSFX(...)
stopSFX()--Stops wav file
example:
- xbmc.stopSFX()
translatePath(...)
translatePath(path)--Returns the translated path.
path : string or unicode - Path to format
*Note, Only useful if you are coding for both Linux and Windows.
e.g. Converts 'special://masterprofile/script_data' -> '/home/user/XBMC/UserData/script_data' on Linux.
example:
- fpath = xbmc.translatePath('special://masterprofile/script_data')
validatePath(...)
validatePath(path)--Returns the validated path.
path : string or unicode - Path to format
*Note, Only useful if you are coding for both Linux and Windows for fixing slash problems.
e.g. Corrects 'Z://something' -> 'Z:'
example:
- fpath = xbmc.validatePath(somepath)

Data
CAPTURE_FLAG_CONTINUOUS = 1
CAPTURE_FLAG_IMMEDIATELY = 2
CAPTURE_STATE_DONE = 3
CAPTURE_STATE_FAILED = 4
CAPTURE_STATE_WORKING = 0
DRIVE_NOT_READY = 1
ENGLISH_NAME = 2
ISO_639_1 = 0
ISO_639_2 = 1
LOGDEBUG = 0
LOGERROR = 4
LOGFATAL = 6
LOGINFO = 1
LOGNONE = 7
LOGNOTICE = 2
LOGSEVERE = 5
LOGWARNING = 3
PLAYER_CORE_AUTO = 0
PLAYER_CORE_DVDPLAYER = 1
PLAYER_CORE_MPLAYER = 2
PLAYER_CORE_PAPLAYER = 3
PLAYLIST_MUSIC = 0
PLAYLIST_VIDEO = 1
SERVER_AIRPLAYSERVER = 2
SERVER_EVENTSERVER = 6
SERVER_JSONRPCSERVER = 3
SERVER_UPNPRENDERER = 4
SERVER_UPNPSERVER = 5
SERVER_WEBSERVER = 1
SERVER_ZEROCONF = 7
TRAY_CLOSED_MEDIA_PRESENT = 96
TRAY_CLOSED_NO_MEDIA = 64
TRAY_OPEN = 16
__author__ = 'Team Kodi <http://kodi.tv>'
__credits__ = 'Team Kodi'
__date__ = 'Sun Aug 09 13:53:06 BST 2015'
__platform__ = 'ALL'
__version__ = '2.20.0'
abortRequested = False

Author
Team Kodi <http://kodi.tv>
Adding strm files to the library xbmc tv

Adding Strm Files To The Library Xbmc Download


Credits
Team Kodi