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...
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
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 :)