cherrymusic icon indicating copy to clipboard operation
cherrymusic copied to clipboard

Limit audio bitrate per user

Open systems-rebooter opened this issue 9 years ago • 5 comments

Bitrate limiter is cool thing. But can this be done per user basis? Even bitrate is limited in admin account user can unlimit it in his own account.. This is something similar to 'permit download' per user feature you guys already have in place

Thanks as always!

systems-rebooter avatar Apr 02 '15 18:04 systems-rebooter

Even bitrate is limited in admin account user can unlimit it in his own account.

Good catch! That shouldn't be. :+1:

6arms1leg avatar Apr 02 '15 18:04 6arms1leg

Hey @6arms1leg Did you have time to look on this?

Thanks!

systems-rebooter avatar May 03 '15 11:05 systems-rebooter

No, sorry. I don't have much spare time the next few months.

6arms1leg avatar May 03 '15 12:05 6arms1leg

Just to clear this one up: the bitrate limit was never meant to limit other users, but to save bandwidth when using CM on the go. Limiting the bandwidth for other users seems like a good idea anyway, because the same bandwidth may block your internet connection at home as well.

To be able to do so, we will:

  • [ ] disable static file serving for those users and redirect to the transcoded file (a HTTP 302 hopefully does the job)
  • [ ] disregard their bitrate preference and serve whatever the admin wants to serve.
  • [ ] optional: override the transcoding user option to tell the client to transcode to avoid the redirect for smoother track changes

devsnd avatar May 17 '15 21:05 devsnd

@devsnd thanks =)

systems-rebooter avatar May 18 '15 08:05 systems-rebooter