This looks interesting. I tried to run this but got 401 error because I have sign-in/api key turned on. I’ll let you know if I end up patching support in to get it to run.
I actually have to revisit this code because it’s not attaching the marker videos url like it used to.
This plugin might have broke with one of the updates.
I was able to get it to run, but I had to manually enter my stash url and api key. Not sure what part of the logic there wasn’t working.
All the tag images seem to come up blank for me though. Not sure what’s up with that.
It’s all about the API and credentials. I’ll have to do some more research to see if this can work when using API credentials.
I’m able to update the code so that it correctly auto grabs the URL and API key but the tag covers aren’t showing because when it injects the stream URL, it’s not authenticating. When you open the cover image in a new page, it will redirect you to your stash login page.
I’m going to have to take some time to figure out how to get it to work. For now, this plugin will only work on stash environments not using credentials/API
Thank you for letting me know of this. Hopefully I can figure this out sometime in the near future.
Yeah that’s interesting. The request does send the session cookie so I would expect it to authenticate Also, I tried sending the same request even with the API key header and that doesn’t work either.
I did some tinkering with it and I did find though that when you visit that stream url the plugin inserts after directly and login it ultimately loads the stream from a different endpoint like /scene/xxxxx/scene_marker/xxx/stream
If you put that in a video tag like <video src=”/scene/xxxxx/scene_marker/xxx/stream” autoplay></video> then it does play inline on the page.
Not sure how much effort it would take to make that adjustment, but it seems like it has promise.