2011-07-22, 00:57
el_Paraguayo Wrote:Looking at the the code, it looks like I could pass the movie_title parameter.
i tried this:
And got the following log. Can anyone let me know why this doesn't work.Code:RunScript(special://home/addons/script.cinema.experience/addon.py,command;movie_title="$INFO[container(569).listitem.label]")
Code:23:47:13 T:25876 M:1636036608 NOTICE: [script.cinema.experience] - Script Started With: command;movie_title=Pan's Labyrinth
23:47:13 T:25876 M:1636036608 NOTICE: [script.cinema.experience] - Command Call: movie_title=Pan's Labyrinth
23:47:13 T:25876 M:1636036608 NOTICE: [script.cinema.experience] - Video Playlist Cleared
23:47:13 T:25876 M:1636036608 NOTICE: [script.cinema.experience] - Music Playlist Cleared
23:47:13 T:25876 M:1636036608 NOTICE: [script.cinema.experience] - Movie Title: Pan's Labyrinth
23:47:13 T:25876 M:1636036608 NOTICE: [script.cinema.experience] - Movie Title: El laberinto del fauno
23:47:13 T:25876 M:1636036608 NOTICE: [script.cinema.experience] - Movie Path: C:\Users\Anto\Documents\Handbrake\
23:47:13 T:25876 M:1636036608 NOTICE: [script.cinema.experience] - Movie Filename: Pan's Labyrinth.mkv
23:47:13 T:25876 M:1636036608 NOTICE: [script.cinema.experience] - Full Movie Path: C:\Users\Anto\Documents\Handbrake\Pan's Labyrinth.mkv
23:47:13 T:25876 M:1636007936 NOTICE: [script.cinema.experience] - Library_view: oldway
23:47:13 T:25876 M:1636007936 NOTICE: [script.cinema.experience] - auto_refresh( False, disable )
23:47:13 T:25876 M:1636007936 NOTICE: [script.cinema.experience] - Autorefresh Status: False
23:47:13 T:25876 M:1636007936 NOTICE: Traceback (most recent call last):
23:47:13 T:25876 M:1636007936 NOTICE: File "C:\Users\Anto\AppData\Roaming\XBMC\addons\script.cinema.experience\resources\lib\ce_playlist.py", line 273, in _get_queued_video_info
23:47:13 T:25876 M:1635987456 NOTICE: mpaa, genre, audio, dummy = xbmc.executehttpapi( "QueryVideoDatabase(%s)" % quote_plus( sql ), ).split( "</field>" )
23:47:13 T:25876 M:1635987456 NOTICE: ValueError: need more than 1 value to unpack
23:47:13 T:25876 M:1635987456 NOTICE: [script.cinema.experience] - Feature - El laberinto del fauno
23:47:13 T:25876 M:1635987456 NOTICE: [script.cinema.experience] - Storing Playlist
23:47:14 T:25876 M:1635467264 NOTICE: [script.cinema.experience] - [ce_playlist.py] - Rebuilding Playlist
23:47:14 T:25876 M:1635467264 NOTICE: [{'fanart': 'special://masterprofile/Thumbnails/Video/Fanart/9938e2f8.tbn', 'thumbnail': '<thumb preview="http://cf1.imgobject.com/posters/60d/4d2ef30c7b9aa125f700060d/el-laberinto-del-fauno-mid.jpg">http://cf1.imgobject.com/posters/60d/4d2ef30c7b9aa125f700060d/el-laberinto-del-fauno-original.jpg</thumb><thumb preview="http://cf1.imgobject.com/posters/b65/4cffd9e75e73d6299e005b65/el-laberinto-del-fauno-mid.jpg">http://cf1.imgobject.com/posters/b65/4cffd9e75e73d6299e005b65/el-laberinto-del-fauno-original.jpg</thumb><thumb preview="http://cf1.imgobject.com/posters/f69/4bc91063017a3c57fe005f69/el-laberinto-del-fauno-mid.jpg">http://cf1.imgobject.com/posters/f69/4bc91063017a3c57fe005f69/el-laberinto-del-fauno-original.jpg</thumb><thumb preview="http://cf1.imgobject.com/posters/f87/4bc91066017a3c57fe005f87/el-laberinto-del-fauno-mid.jpg">http://cf1.imgobject.com/posters/f87/4bc91066017a3c57fe005f87/el-laberinto-del-fauno-original.jpg</thumb><thumb preview="http://cf1.imgobject.com/posters/f82/4bc91066017a3c57fe005f82/el-laberinto-del-fauno-mid.jpg">http://cf1.imgobject.com/posters/f82/4bc91066017a3c57fe005f82/el-laberinto-del-fauno-original.jpg</thumb><thumb preview="http://cf1.imgobject.com/posters/7a3/4c63ed375e73d634610007a3/el-laberinto-del-fauno-mid.jpg">http://cf1.imgobject.com/posters/7a3/4c63ed375e73d634610007a3/el-laberinto-del-fauno-original.jpg</thumb><thumb preview="http://cf1.imgobject.com/posters/f6e/4bc91063017a3c57fe005f6e/el-laberinto-del-fauno-mid.jpg">http://cf1.imgobject.com/posters/f6e/4bc91063017a3c57fe005f6e/el-laberinto-del-fauno-original.jpg</thumb><thumb preview="http://cf1.imgobject.com/posters/f73/4bc91064017a3c57fe005f73/el-laberinto-del-fauno-mid.jpg">http://cf1.imgobject.com/posters/f73/4bc91064017a3c57fe005f73/el-laberinto-del-fauno-original.jpg</thumb><thumb preview="http://cf1.imgobject.com/posters/f78/4bc91064017a3c57fe005f78/el-laberinto-del-fauno-mid.jpg">http://cf1.imgobject.com/posters/f78/4bc91064017a3c57fe005f78/el-laberinto-del-fauno-original.jpg</thumb><thumb preview="http://cf1.imgobject.com/posters/848/4c63ecb85e73d63460000848/el-laberinto-del-fauno-mid.jpg">http://cf1.imgobject.com/posters/848/4c63ecb85e73d63460000848/el-laberinto-del-fauno-original.jpg</thumb><thumb preview="http://cf1.imgobject.com/posters/f7d/4bc91065017a3c57fe005f7d/el-laberinto-del-fauno-mid.jpg">http://cf1.imgobject.com/posters/f7d/4bc91065017a3c57fe005f7d/el-laberinto-del-fauno-original.jpg</thumb><thumb preview="http://cf1.imgobject.com/posters/bbf/4cba3ae87b9aa138da000bbf/el-laberinto-del-fauno-mid.jpg">http://cf1.imgobject.com/posters/bbf/4cba3ae87b9aa138da000bbf/el-laberinto-del-fauno-original.jpg</thumb><thumb preview="http://cf1.imgobject.com/posters/ba8/4cba3b7d7b9aa138d6000ba8/el-laberinto-del-fauno-mid.jpg">http://cf1.imgobject.com/posters/ba8/4cba3b7d7b9aa138d6000ba8/el-laberinto-del-fauno-original.jpg</thumb><thumb preview="http://cf1.imgobject.com/posters/8a2/4de2a4a27b9aa134550008a2/el-laberinto-del-fauno-mid.jpg">http://cf1.imgobject.com/posters/8a2/4de2a4a27b9aa134550008a2/el-laberinto-del-fauno-original.jpg</thumb><thumb>http://ia.media-imdb.com/images/M/MV5BMTU3ODg2NjQ5NF5BMl5BanBnXkFtZTcwMDEwODgzMQ@@._V1._SX512_SY512_.jpg</thumb>', 'file': "C:\\Users\\Anto\\Documents\\Handbrake\\Pan's Labyrinth.mkv", 'label': 'El laberinto del fauno'}]
23:47:14 T:25876 M:1635467264 NOTICE: [script.cinema.experience] - [ce_playlist.py] - _get_movie_details started
23:47:14 T:25876 M:1636519936 NOTICE: Traceback (most recent call last):
23:47:14 T:25876 M:1636519936 NOTICE: File "C:\Users\Anto\AppData\Roaming\XBMC\addons\script.cinema.experience\resources\lib\dharma_code.py", line 42, in _rebuild_playlist
23:47:14 T:25876 M:1636519936 NOTICE: plot, plotoutline, runtime, mpaa, year, studio, genre, writer, director, tagline, votes, imdbcode, rating, votes, top250 = _get_movie_details( movie_title, movie_thumbnail, movie_full_path )
23:47:14 T:25876 M:1636519936 NOTICE: File "C:\Users\Anto\AppData\Roaming\XBMC\addons\script.cinema.experience\resources\lib\dharma_code.py", line 63, in _get_movie_details
23:47:14 T:25876 M:1636519936 NOTICE: plot, plotoutline, runtime, mpaa, year, studio, genre, writer, director, tagline, votes, imdbcode, rating, top250, dummy = xbmc.executehttpapi( "QueryVideoDatabase(%s)" % quote_plus( sql_query ), ).split( "</field>" )
23:47:14 T:25876 M:1636519936 NOTICE: ValueError: need more than 1 value to unpack
23:47:14 T:25876 M:1636466688 NOTICE: Traceback (most recent call last):
23:47:14 T:25876 M:1636466688 NOTICE: File "C:\Users\Anto\AppData\Roaming\XBMC\addons\script.cinema.experience\resources\lib\ce_playlist.py", line 262, in _get_queued_video_info
23:47:14 T:25876 M:1636466688 NOTICE: movie_title = xbmc.PlayList( xbmc.PLAYLIST_VIDEO )[ feature ].getdescription()
23:47:14 T:25876 M:1636466688 NOTICE: TypeError: array out of bound
23:47:14 T:25876 M:1636466688 NOTICE: [script.cinema.experience] - Building Cinema Experience Playlist
23:47:14 T:25876 M:1636466688 NOTICE: [script.cinema.experience] - Adding Audio Format Video
23:47:14 T:25876 M:1636466688 NOTICE: [script.cinema.experience] - Adding Countdown Videos: 0 Video(s)
23:47:14 T:25876 M:1636466688 NOTICE: [script.cinema.experience] - Adding Ratings Video
23:47:14 T:25876 M:1636466688 NOTICE: [script.cinema.experience] - Adding Feature Presentation Intro Videos: 0 Videos
23:47:14 T:25876 M:1636466688 NOTICE: [script.cinema.experience] - Retriving Trailers: 5 Trailers
23:47:14 T:25876 M:1636417536 NOTICE: Apple Movie Trailers Newest trailers scraper
23:47:14 T:25876 M:1636392960 NOTICE: []
23:47:14 T:25876 M:1636392960 NOTICE: [script.cinema.experience] - Adding Coming Attraction Outro Video: 0 Videos
23:47:14 T:25876 M:1636392960 NOTICE: [script.cinema.experience] - Adding Trailers: 0 Trailers
23:47:14 T:25876 M:1636392960 NOTICE: [script.cinema.experience] - Adding Coming Attraction Intro Videos: 0 Videos
23:47:14 T:25876 M:1636392960 NOTICE: [script.cinema.experience] - Adding Movie Theatre Intro Videos: 0 Videos
23:47:14 T:25876 M:1636392960 NOTICE: 0
23:47:14 T:25876 M:1636392960 NOTICE: [script.cinema.experience] - Adding Feature Presentation Outro Videos: 0 Videos
23:47:14 T:25876 M:1636392960 NOTICE: [script.cinema.experience] - Adding Movie Theatre Outro Videos: 0 Videos
23:47:14 T:25876 M:1636392960 NOTICE: [script.cinema.experience] - Playlist Size: 0
23:47:14 T:25876 M:1636392960 NOTICE: [script.cinema.experience] - Trigger List Size: 1
23:47:14 T:25876 M:1636392960 NOTICE: [script.cinema.experience] - Saving trigger List
23:47:14 T:25876 M:1636335616 NOTICE: [script.cinema.experience] - Music Playlist Cleared
23:47:14 T:25876 M:1636335616 NOTICE: [script.cinema.experience] - Loading Trigger List
23:47:14 T:25876 M:1636335616 NOTICE: [script.cinema.experience] - User might have pressed stop
23:47:14 T:25876 M:1636335616 NOTICE: [script.cinema.experience] - Stopping Script
23:47:14 T:25876 M:1636335616 NOTICE: [script.cinema.experience] - messy_exit: False
23:47:14 T:25876 M:1636335616 NOTICE: [script.cinema.experience] - Video Playlist Cleared
23:47:14 T:25876 M:1636335616 NOTICE: [script.cinema.experience] - Music Playlist Cleared
What version of XBMC and of the script are you using? Any chance you could post the full Debug log(XBMC in Debug mode) on to pastebin?
You can also have the script started this way(probably better):
Code:
RunScript(script.cinema.experience,command;movie_title="$INFO[container(569).listitem.label]")