2012-10-26, 07:13
if u remove image:// then urlencode and then add image:// back it should work.
image://<url-encode(path)>
<url-encode(image://<url-encode(path)>)>
http://192.168.1.5:8080/image/<url-encode(image://<url-encode(path)>)>
(2012-10-29, 18:57)Montellese Wrote: Unless there's an action for it (which I don't think there is), there's no way to do this. So you'd have to make a feature request in this sub-forum for it. What exactly do you need it for? XBMC should refresh library views when new items are available etc.
(2012-10-29, 19:08)bradvido88 Wrote:What do you use for updating playcount? if you use the JSON-RPC commands it should update auto i think(2012-10-29, 18:57)Montellese Wrote: Unless there's an action for it (which I don't think there is), there's no way to do this. So you'd have to make a feature request in this sub-forum for it. What exactly do you need it for? XBMC should refresh library views when new items are available etc.
I need it because I have a program that automatically marks all identical episodes (based on season/episode number) for a series as "watched" when any one of them is watched. This is done by setting the playcount to 1 for all of them.
Then I refresh the GUI (previusly with HTTP ExecBuiltIn(Container.Refresh)), and all episodes with the same season/episode number get a check mark. If I don't refresh the gui, they don't get the check mark unless i navigate back/forward.
(On a side note, the reason I do this is because I have multiple identical episodes from different sources (e.g. hulu, pvr, netflix) in my library, and i want them all the be marked as watched when any one is watched).
(2012-10-29, 19:16)Martijn Wrote:Currently it's a direct db update. I'm moving it to use JSON-RPC though.(2012-10-29, 19:08)bradvido88 Wrote:What do you use for updating playcount? if you use the JSON-RPC commands it should update auto i think(2012-10-29, 18:57)Montellese Wrote: Unless there's an action for it (which I don't think there is), there's no way to do this. So you'd have to make a feature request in this sub-forum for it. What exactly do you need it for? XBMC should refresh library views when new items are available etc.
I need it because I have a program that automatically marks all identical episodes (based on season/episode number) for a series as "watched" when any one of them is watched. This is done by setting the playcount to 1 for all of them.
Then I refresh the GUI (previusly with HTTP ExecBuiltIn(Container.Refresh)), and all episodes with the same season/episode number get a check mark. If I don't refresh the gui, they don't get the check mark unless i navigate back/forward.
(On a side note, the reason I do this is because I have multiple identical episodes from different sources (e.g. hulu, pvr, netflix) in my library, and i want them all the be marked as watched when any one is watched).
(2012-10-29, 22:11)Montellese Wrote: Then get ready to be surprised as I have actually fixed this a while ago, see http://trac.xbmc.org/ticket/13173.
ExecBuiltin(RunScript(script.xbmc.subtitles))
{ "jsonrpc":"2.0", "id":351, "method":"Addons.ExecuteAddon", "params": {"addonid":"script.xbmc.subtitles"} }