Sign up here and you can log into the forum!

UMSP Plugin---Some Question---changed subject

Discussion, features, plugins--everything about zoster's UMSP UPnP Media Server software

UMSP Plugin---Some Question---changed subject   

Postby eskay » Fri Sep 09, 2011 1:43 pm

Hello moderator/users,

I have created a plugin for Indian Music lovers. It will list down the Movies / album from India(country can be added , if required in future :) ). and then tracks (MP3 song) can be played .
The suggestion I need is, in which section i put the plugin.
One :idea: ,I have is that I merge this with the plugin Bollywood. But this is under section video sharing, where as this will be audio sharing.... :?

so please suggest.


eskay.....
Last edited by eskay on Mon Sep 19, 2011 11:33 am, edited 1 time in total.
User avatar
eskay
Developer
 
Posts: 130
Joined: Mon Aug 02, 2010 12:56 pm
Location: SWITZERLAND

Re: UMSP Plugin::IndianMusic---ready to be downloaded in ur    

Postby shunte » Fri Sep 09, 2011 8:21 pm

the WD menu structure has no concept of what content will be served up so mixing and matching different media is totally doable, and done on many a WD with th help of PaulF's plug-in

totally your call - if you think the solution is big enough to merit its own packaging then go that route and if not go the bundle route

keep up the great work - you're on fire dude ;)
If you like the work I do please feel free to make a donation to the Red Cross
User avatar
shunte
Developer
 
Posts: 420
Joined: Sun Sep 19, 2010 1:43 am
Location: Cambridge, MA U. S. and A.

Re: UMSP Plugin::IndianMusic---ready to be downloaded in ur   

Postby eskay » Sun Sep 11, 2011 9:33 am

shunte wrote:keep up the great work - you're on fire dude ;)

Thanks Shunte..
But now :? . Should i put this in plugin or not... it seems no takers :) of the plugin..
User avatar
eskay
Developer
 
Posts: 130
Joined: Mon Aug 02, 2010 12:56 pm
Location: SWITZERLAND

Re: UMSP Plugin::IndianMusic---ready to be downloaded in ur    

Postby b-rad.cc » Sun Sep 11, 2011 9:48 am

i think it should be a different plugin personally.
PM's are for private matters only, please post public matters on the forum to help others who might have the same issue.
:mrgreen:
User avatar
b-rad.cc
WDLXTV Team
 
Posts: 3002
Joined: Sat Apr 03, 2010 9:35 am
Location: New York

Re: UMSP Plugin::IndianMusic---ready to be downloaded in ur   

Postby eskay » Thu Sep 15, 2011 10:57 am

b-rad.cc wrote:i think it should be a different plugin personally.

And so do I. So untill now the work is completed for 3 services. Currently working for the search option...(reading the wiki pages).

I want to add one more feature to add an album in his favorite. And this can be played through the menu within the plugin.
So question is where should i place the file to store the favorites of a user? ... any :idea:
User avatar
eskay
Developer
 
Posts: 130
Joined: Mon Aug 02, 2010 12:56 pm
Location: SWITZERLAND

Re: UMSP Plugin::IndianMusic---ready to be downloaded in ur    

Postby eskay » Thu Sep 15, 2011 1:32 pm

Plugin avialable now ...details at http://forum.wdlxtv.com/viewtopic.php?f=53&t=5289
User avatar
eskay
Developer
 
Posts: 130
Joined: Mon Aug 02, 2010 12:56 pm
Location: SWITZERLAND

Re: UMSP Plugin::IndianMusic---ready to be downloaded in ur   

Postby mad_ady » Thu Sep 15, 2011 10:04 pm

eskay wrote:So question is where should i place the file to store the favorites of a user? ... any :idea:


It's a matter of preference. I usually store things under /conf. For Shoutcast, for instance, I store the last 4 played stations in a variable in /conf/config (| separated list). For other plugins I use independent files.
Shunte, on the other hand, likes to use attached storage to store configuration/preferences. He has built a function that will return the first available USB storage, with fallback to /conf if no USB is available. His solution is the most scalable, since in the future we might run out of space in /conf. The downside to his approach is - if the user replaces the disk he looses that file.

The best approach would be to let the user configure the location of the file via a config variable (something like INDIANMUSIC_FAVORITES='/tmp/mnt/xxxx-xxxx/indian_music_favorites.xml'). You can set it by default to a reasonable default (e.g. /conf/), and allow the users to store their preferences wherever they want. Cantio, Daily Podcasts and other plugins use this approach.
User avatar
mad_ady
Developer
 
Posts: 2996
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania


Return to UMSP Media Server

Who is online

Users browsing this forum: No registered users and 1 guest