Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Ratings + Comments support for media items. Comments and ratings can be added and deleted including weighting media for airplay.

License

NotificationsYou must be signed in to change notification settings

openbroadcaster/reviews

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

The Reviews module provides comment and ratings support for media items. Comments and ratings can be added (and deleted) via API requests only; the module is designed to integrate with another website. Adding a rating will also update a custom metadata field with the average rating in order to allow for searches and dynamic selections based on good (or poor) ratings.

Seehttps://docs.openbroadcaster.com/ for general API integration instructions. An appkey is required on a user with the "manage media reviews via api" permission. As this permission gives broad access to add and remove ratings and reviews, any integration should be done server-side to avoid providing end users with access credentials (i.e., in JavaScript source code).

Installation

  1. Add the module code to /modules/reviews and install the module via the OpenBroadcaster "modules" page.
  2. Add a custom metadata field (integer) with the name "reviews_module_rating" to hold the average rating value (0-100).

API Methods

The following methods are available for the controller "review".

comment_add

Add a comment to a media item. Multiple comments per user/email are allowed.

ParameterDescription
media_idmedia id
nameuser's name
emailuser's email
commentcomment

comment_delete

Delete a comment.

ParameterDescription
idcomment id

comment_get

Get all comments. Note this method is available to any logged in OpenBroadcaster user (or any user via appkeys).

ParameterDescription
media_idmedia id

rating_add

Add a rating to a media item. If a rating already exists for this email address, it will be replaced.

ParameterDescription
media_idmedia id
nameuser's name
emailuser's email
ratingrating (0-100)

rating_delete

Delete a rating.

ParameterDescription
idrating id

rating_get

Get all ratings. Note this method is available to any logged in OpenBroadcaster user (or any user via appkeys).

ParameterDescription
media_idmedia id

About

Ratings + Comments support for media items. Comments and ratings can be added and deleted including weighting media for airplay.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project


    [8]ページ先頭

    ©2009-2025 Movatter.jp