get5 icon indicating copy to clipboard operation
get5 copied to clipboard

Automatically upload match demos

Open BloodyIron opened this issue 5 years ago • 3 comments

Any chance we can get Demos to auto-upload to the central server after a match, and have a link for the web page viewer to download said demos?

This is like the #1 requested thing I hear when we do CS:GO stuff.

Please? :)

BloodyIron avatar Mar 17 '19 22:03 BloodyIron

What I know, you can setup teasyftp to upload on a www/ftp server.

You can read here, it's dont upload, you need a plugin. https://github.com/splewis/get5/wiki/Recording-match-demos#uploading-match-demo-on-game-end

mrc4tt avatar Mar 17 '19 22:03 mrc4tt

When using get5 to manage lots of systems (in my case upwards of 12-16 servers simultaneously), this can become a logistical problem of:

  1. Determining which demo is for which match, especially with a lot of matches happening
  2. Grabbing it from the right server
  3. Fast enough to keep up with all the demos being recorded
  4. Putting them in a place for the participants to retrieve in a convenient way, that is clear which demo is for which match

There are other concerns, but this is a good chunk of why I think it would be great if we could extend get5 to auto generate, label, and manage the entire demo lifecycle. From starting of recording, to naming and labelling, to securely (TLS) pass the demos across the network to the central server, to putting them in an organised folder, and then presenting them as a download URL on each match results page.

I think everyone would appreciate this feature, and it certainly would save a lot of time for many.

Thoughts?

BloodyIron avatar Mar 17 '19 23:03 BloodyIron

Any chance we can get this looked at soon? Please? :)

BloodyIron avatar May 11 '19 22:05 BloodyIron

Hello @BloodyIron

I don't know if you're still active, since it's been... a while... but this is something that can be pretty easily done now with all the new forwards and events we built. Are you still interested in this?

nickdnk avatar Aug 11 '22 00:08 nickdnk

I certainly am interested in this for get5 and get5-web ;DDD Thanks for asking!

BloodyIron avatar Aug 11 '22 21:08 BloodyIron

@PhlexPlexico Do we put this in Get5 itself or in the web thing? I believe you mentioned something about uploading things with your web solution, and with the get5 forwards working the way they do now it should be pretty straight-forward to send them somewhere.

nickdnk avatar Aug 12 '22 02:08 nickdnk

I haven't looked at get5 recently so I can't speak to the functionality, but the web component I think would be useful, in that knowing they were uploaded, where to get them (via web interface downloads), stuff like that, would be useful. And I suspect that would likely work as the get5 primary stuff itself + the web components too.

BloodyIron avatar Aug 12 '22 02:08 BloodyIron

@PhlexPlexico Do we put this in Get5 itself or in the web thing? I believe you mentioned something about uploading things with your web solution, and with the get5 forwards working the way they do now it should be pretty straight-forward to send them somewhere.

The only issue with this is trying to send POST data as an octet-stream (or otherwise) via SteamWorks, which I don't know how to do. If someone can figure out how to send the file as a byte stream to upload then it should be doable.

The only reason my plugin works is because it uses sm-ripext which has cURL so it can easily send these files. G5API accepts it as an octet-stream. So, if we can get something similar with SteamWorks, then by all means we can implement this. However, I think it's something that just requires more reading of documentation than anything. I can see if there was something I missed on my first pass through as well.

PhlexPlexico avatar Aug 12 '22 03:08 PhlexPlexico

WHOOOO!!! yay!

BloodyIron avatar Oct 02 '22 15:10 BloodyIron