Mod Archive Forums Mod Archive Forums
Advanced search  

News:

Please note: Your main modarchive.org account will not work here, you must create a forum account to post on the forums.

Pages: [1]   Go Down

Author Topic: API to Set Ratings?  (Read 427 times)

0 Members and 1 Guest are viewing this topic.

tygre

  • Liking the Pie
  • Offline Offline
  • Posts: 3
    • View Profile
    • Tygre@Chingu
API to Set Ratings?
« on: April 22, 2017, 06:10:18 »

Hi there!

I was wondering if there was an API to set ratings programmatically?

I'm developing AmiModRadio and manage my own ratings but it would be cooler to use yours for the modules coming from TMA :)

Cheers!
Logged
Scientific Progress Goes Boing!
http://www.chingu.asia/wiki

Saga Musix

  • TMA Moderator
  • Lerd of the Pies
  • ****
  • Offline Offline
  • Posts: 1961
  • I love OpenMPT! And Modules! And TMA! And Pie! :>
    • View Profile
    • Saga Musix - free mod music and more!
Re: API to Set Ratings?
« Reply #1 on: April 22, 2017, 19:39:26 »

No, the API is (and will stay) read-only. If you want your users to be able to rate / favourite songs, you should store this information locally.
Logged
» My TMA artist profile
» Visit my music site: https://sagamusix.de/ [de, en]
» Visit my programming website: https://sagagames.de/ [de]
» Open ModPlug tracker

tygre

  • Liking the Pie
  • Offline Offline
  • Posts: 3
    • View Profile
    • Tygre@Chingu
Re: API to Set Ratings?
« Reply #2 on: April 23, 2017, 08:10:04 »

Hi Saga Musix!

Okay, thanks! Already does on my Amiga server :) (Who is often down :rolleyes:)

Cheers!
Tygre
« Last Edit: April 23, 2017, 08:11:42 by tygre »
Logged
Scientific Progress Goes Boing!
http://www.chingu.asia/wiki
Pages: [1]   Go Up