Quota configuration assistance and recommendation please

iLoveHouseMusic
iLoveHouseMusic
@ilovehousemusic
10 years ago
517 posts
I'm in sort of predicament and I'm looking for ideas on how to move forward w/ my JR5 site. I apologize in advance if this is long but you'll see what going through my mind at least.

So, I have 3 quotas migrated over from my old JR4 site:
1. Artist Basic (member).
2. Artist15 - 15 song slots allowed
3. Artist100 - 100 song slots allowed

They exist now in JR5, with the same amount of song slots in JR4. My goal is to offer a subscription that is based on Disk Space (For this example, let's say 5GB space).

Problem 1 - Some artists in the Artist15 quota have zero audio loaded in their profile. When I launch the site, I don't want them to be able to use these 15 slots. Thus, I need a way (SQL update statement perhaps?) to find all artists with 0 audio, then change their quota to Artist Basic (member) quota. This basic quota still allows for SoundCloud import so it does have features that artist will still find useful to promote audio. They just wont be included in site audio rankings since that is only for uploaded audio hosted on my JR site. Subscribing to our site will grant them disk space, and thus allow them to appear in the audio listings. That's how I'll pitch it. So that's the first problem, how do I search for these artists and move them in bulk? In the old JR4 quota browser, there was a column for "disk space" usage that I could use to sort these. Is there something similar on JR5?

Problem 2 - Artists in the Artist15 quota that DO have audio loaded I want to be able to pitch to them the subscription for disk space that has a trial period. Meaning, "Upgrade to our Artist Elite package free trial for 30 days..." Let's say they upgrade, and upload (say) 3Gb of audio. Lets say they choose not to continue with the subscription. What behaviour will occur with the audio when the subscription expires? They will be bumped back down to the Artist15 quota, correct? I'm assuming, all 3Gb of audio will be visible to them, but not playable from site listings? Or ?? Not sure what will happen here. My thought is, the first 15 song slots that occupy the audio quota will be playable and visible, but the rest will not. Just want to know what to expect here so I can draft my documentation accordingly.

Problem 3 - If an account is associated to multiple profiles, does the quota apply to the account or profile(s)? Meaning, an account with 3 profiles, will still have (overall) 5Gb of disk space between the 3 profiles, correct?

Ultimately, artists WITH audio are grandfathered in, and will (at least) have what was available to them in the previous site, but they will be in sort of a limbo state between being a Basic Member and Subscription.

That's pretty much it for now. Thanks for listening to that mouthful lol.



updated by @ilovehousemusic: 04/12/14 02:59:43AM
brian
@brian
10 years ago
10,148 posts
Most of this is just going to be you configuring/fixing up the profiles or moving them to the quota you want. You can use the Profile Browser to find profiles that do NOT have audio files uploaded - i.e.

profile_jrAudio_item_count:0

As for a User Account associated with multiple profiles - quotas are tied to profiles, not user accounts.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
iLoveHouseMusic
iLoveHouseMusic
@ilovehousemusic
10 years ago
517 posts
Just as a follow up to this - So there is no option for a trial period in JR5, correct? Is there a slick way to emulate that?

I did try this search in the profile browser, but did not get any results, but should have. Is my syntax correct? profile_jrAudio_item_count:0
brian
@brian
10 years ago
10,148 posts
iLoveHouseMusic:
Just as a follow up to this - So there is no option for a trial period in JR5, correct? Is there a slick way to emulate that?

I can't think of an easy way to emulate it - something custom would need to be done.

iLoveHouseMusic:
I did try this search in the profile browser, but did not get any results, but should have. Is my syntax correct? profile_jrAudio_item_count:0

Your syntax is correct, but you won't get any results - the reason is that "empty" keys are not stored in the DS. In this case, the "profile_jrAudio_item_count" key does not exist until a profile actually creates an audio file. There is a DS function to get items that are missing a key, which in this case is what would be needed, but it's not accessible through the DS browser. It might be doable though, so I've added a todo to check it out.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
iLoveHouseMusic
iLoveHouseMusic
@ilovehousemusic
10 years ago
517 posts
@brian - is there a SQL statement I can run to move the profiles from one quota to another? I have another site I can test on first.
updated by @ilovehousemusic: 03/08/14 10:07:48AM
brian
@brian
10 years ago
10,148 posts
You can click on the "transfer" button in the Browse Quotas section.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
iLoveHouseMusic
iLoveHouseMusic
@ilovehousemusic
10 years ago
517 posts
Yes, but to refresh the scenario - I have users in Artist quota with AND without music. I'm looking for a way to bulk move users WITHOT music to the basic quota.

So it would be like like Select users from Artist quota with No music and move them to basic quota.
brian
@brian
10 years ago
10,148 posts
That involves different DS stores, so is not as simple as an SQL query (unfortunately).


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

Tags