liquidx/webviewscreensaver

Fetch URLs Remotely?

gitgetgot opened this issue ยท 9 comments

What does it mean and how does it work?

@liquidx What type of input does the project expect?
Is this JSON or some CSV structure?

I've also been curious about this. It looks like it's expecting json, based on the code I've been able to parse, but my Objective-C isn't good enough to tell you what that json object should look like...

+1
@liquidx can you at least chime in to tell us if this feature even works?

I don't know objective c but I looked at https://github.com/liquidx/webviewscreensaver/tree/master/WebViewScreenSaver and it appears that it wants JSON array so...
I've tried JSON off an AWS box with format like this:

[
{
"url": "urlstringone",
"duration": 10
},
{
"url": "urlstringtwo",
"duration": 10
}
]

Doesn't work :(

Yea, I tried the same thing without any success. Either this doesn't work at all or the format is not obvious.

I ended up with my own workaround. For my case, I just wanted to loop through youtube/vimeo videos at random. So I built an app for it and I just point webviewscreensaver to my app. Here's the repository: https://github.com/WattyRev/screen-saver

Nice solution ๐Ÿ‘๐Ÿป @WattyRev

After looking at @WattyRev and along with my quest to practice and learn more Python I decided try and build a "as simple as possible" similar workaround using Python and this is what I got (https://github.com/moisesber/fun_random_videos). Works for me so it might work for other people out there :)

Hasn't been working since 9adb30d .
Converted the examples list to this format for testing.

Fix is now available in v2.4