changing statistics manually

General discussions.

Moderator: moderators

changing statistics manually

Postby diab0lik » Tue Nov 24, 2009 12:42 pm

hi is there anyway i can just the user statistics manually? ie the amount downloaded, streamed per user etc thanks
diab0lik
 
Posts: 5
Joined: Tue Nov 24, 2009 12:41 pm

Postby M0NG0 » Thu Nov 26, 2009 2:16 am

Yep, with SQL you can. Go to http://[your_Subsonic_URL]:[your_port]/db.view and enter the following query to see the user table:

Code: Select all
SELECT * from user

This will show the user table. Let's say you want to set a user named diab0lik to show 0 bytes streamed. You can do that with the following query:

Code: Select all
UPDATE user
SET BYTES_STREAMED='0'
WHERE USERNAME='diab0lik'
M0NG0
 
Posts: 13
Joined: Thu Jul 17, 2008 5:54 am


Return to General

Who is online

Users browsing this forum: No registered users and 12 guests