VoxCommando
Help and Support (Using VoxCommando) => XBMC (Old board see 'KODI' above) => Topic started by: bp_pbs on December 17, 2011, 04:59:17 AM
-
I am have the hardest time with XBMC Smart playlists on ATV2. When running the same playlist on the XBMC on the computer it work to perfection. When switching the IP address over to ATV2 it just show a Blank Video Library screen.
XBMC.LoadSmart smarts\MovieByName.xsp
XBMC.Send execbuiltin(ActivateWindow(MyVideoLibrary,{path.vc}\VoxSmart.xsp,return))
VC.Pause 200
XBMC.Send action(2)
I've tried changing the window to Videolibrary, Video, Videos, etc. But still no luck
Can some please let me know what I am doing wrong?
-- giant image attachment removed --
-
sorry, missed this post.
If you are running VC on a different machine from XBMC then you need to tell the XBMC machine where to find the modified smart playlist in terms of your network.
this line:
XBMC.Send execbuiltin(ActivateWindow(MyVideoLibrary,{path.vc}\VoxSmart.xsp,return))
VC.Pause 200
where it says {path.vc}\VoxSmart.xsp
is pointing XBMC to a smartplaylist using a local path, which will end up being comething like c:\voxcommando\VoxSmart.xsp
so you would need to change it to something that tells XBMC where to find it on the network. Assuming XBMC is allowed to access it, it would be something like
\\MyLaptop\c\voxcommand\VoxSmart.xsp
I have not tested this, it's possible that you need to use a different syntax that XBMC will understand, in order to find the file.
-
Ok, I get what you are saying. I will test this out today and let you know the results.
Thank you for your help
-
note that VC also has an action: File.Copy
you might be able to use that to put the file somewhere easier for XBMC to reach.
-
I was able to get it to work using the SMB path:
execbuiltin(ActivateWindow(MyVideoLibrary,smb://NICKMAIN-PC/Vox/VoxSmart.xsp,return))
Although it seems to loss access to the file after a while. I'm thinking it may have to do with my computer or the way I am sharing; Or just XBMC. So I'm going to try the File.Copy. Maybe I can Copy it to the ATV2 itself so that it will always have access
-
sounds like it is worth a shot, though I can't think why it would "lose access."
thanks for the update. :)
-
So i don't think its losing access anymore. Its weird. If I tell it to Smart Playlist movies starring Halle Berry it will but then when i ask it to smart playlist action movies it will display the same Halle Berry movies. When I check the VoxSmart.xsp( to see what the last command) it displays the FindMovieGenre smart. So it should do it..I tried the other way around and it keeps displaying action movies...When testing this out 10 time it does this 6 times. The other 4 times it works fine. So i'm a little stumped. If its a configuration problem then why doesn't it do it all the time. If its an access problem then it wouldn't display it the first time.
Maybe I'm thinking too hard..lol
-
maybe you need to leave the current smart playlist you are viewing before you can load a new one?
-
Maybe you need to put a vc.pause action between the loadsmart and the xbmc.execbuiltin action to make sure the file has been fully written. It could be that xbmc is trying to open the file before it have been updated and so xbmc is using the old file.
For fun you could instead put a short tts.speaksync command in there to kill a second or two saying "loading your request" etc.