skorokithakis/catt

ENH: like,+1,+!: Like currently playing media

westurner opened this issue · 4 comments

catt like
catt +1
catt +!
catt -d {ip|alias} +1
# INFO: {track metadata}
# INFO: wrote track metadata to ./likes.csv|./likes.yml|./likes.csvw.yamlld.yml
# DEBUG: HTTP POST to {url}/.well-known/actions/like
# (delay)
# INFO: 200 OK\n{"msg":"Like Created", "result": {"@type":"https://schema.org/LikeAction", ...}}

I'm not sure what these notes are, please add a lot more detail describing the problem, proposed solution, etc if you want to propose something.

Is this specific?

catt -d {ip|alias} +1
# INFO: {track metadata}
# INFO: wrote track metadata to ./likes.csv|./likes.yml|./likes.csvw.yamlld.yml
# DEBUG: HTTP POST to {url}/.well-known/actions/like
# (delay)
# INFO: 200 OK\n{"msg":"Like Created", "result": {"@type":"https://schema.org/LikeAction", ...}}

I don't know what that is. Can you write some prose detailing the feature of bugfix you'd like to propose?

I specified the desired inputs and outputs?

Users can 'like' the currently playing media content with catt using a like command conveniently aliased to +1 and +!, such that downstream content hosting services can field 'LikeAction' event and record said information on behalf of their users (possibly in addition to just appending to a .csv file, pending upstream implementation to support this functionality in the Chromecast protocol(s) so that Chromecast-compatible content providers can receive 'LikeAction' W3C Web Annotations)