2015-11-03, 15:38
Marcel, I know you said earlier on that opening a tv show for either "because you watched" or "tv show in genre" works correctly...but I am afraid it does not. I delved into the code and noticed that for both Movies and TV Shows you are passing the "file" attribute as the url to the listitem.
This basically results in
for tv shows and
for movies
So for movies everything is great and it plays the movie, however for tv shows it is not.
Looking further into the code you have some parts where a call to ActivateWindow is used eg.
which seems to be the ideal thing to use in the above cases...unfortunately that does not work as there seems to be no LAUNCHAPP entry point.
I could keep on debugging but you mentioned it works correctly for you is that still the case?
This basically results in
Code:
smb://DISKSTATION/share/TV/Band of Brothers/
Code:
smb://DISKSTATION/usbshare1/movies/Howl's Moving Castle (2004)/Howl's Moving Castle (2004).mkv
So for movies everything is great and it plays the movie, however for tv shows it is not.
Looking further into the code you have some parts where a call to ActivateWindow is used eg.
Code:
tvshowpath = "ActivateWindow(Videos,videodb://tvshows/titles/%s/,return)" %str(item["tvshowid"])
tvshowpath="plugin://script.skin.helper.service?LAUNCHAPP&&&" + tvshowpath
which seems to be the ideal thing to use in the above cases...unfortunately that does not work as there seems to be no LAUNCHAPP entry point.
I could keep on debugging but you mentioned it works correctly for you is that still the case?