Skip to content
This repository was archived by the owner on Sep 22, 2024. It is now read-only.
This repository was archived by the owner on Sep 22, 2024. It is now read-only.

add set volume api #15

@simonlsx

Description

@simonlsx

gitv set volume API:
http://[ip]:6095/general?action=setVolum&volum=[volume]&ts=[current timestamp]&sign=[md5]

ip: mitv/mibox IP
volume: volume level 0-50
current timestamp: integer with more than 5 digits should be ok
md5: see below
md5(sign) calculation method:

md5 checksum of "mitvsignsalt[volume][mitv ethernet Mac address][current timestamp]"
P.S Ethernet Mac address, NOT WiFi Mac address
For example :

ip : "192.168.1.100"
ethernet Mac address : "ab:11:22:33:44:55"
timestamp : "11111"
volume : "20"
md5sum("mitvsignsalt20ab:11:22:33:44:5511111") : "ee242baf69d53fb6a51b43611b593da3"
Therefore the url will be
http://192.168.1.100:6095/general?action=setVolum&volum=20&ts=11111&sign=ee242baf69d53fb6a51b43611b593da3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions