Re: Replacing one plugin with another
Paul Webster <Paul.Webster.a9ozrc-NUepA2SMhDQqspMVqqL2D+4xXEVPTSb/[email protected]>
| Newsgroups | gmane.music.equipment.slimdevices.devel |
|---|---|
| Organization | Logitech Squeezebox Forums |
| Message-ID | <[email protected]> |
I can see a couple of different approaches using the pre/post functionality. One would be to have a pre function in plugin Z that disables plugin X and Y (if author same as plugin Z). An alternative would be for Z to have a callable function ... and then modify plugin X and Y to call it in their initPlugin to ask if they should continue. This approach would require the end-user to update (or remove) the X and Y plugin but might make it easier to revert in the event of a problem in my new plugin Z (for example if I had missed something in porting the functionality from X and Y to Z. Paul Webster http://dabdig.blogspot.com author of \"now playing\" plugins covering radio france (fip etc), planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, supla finland, abc australia, cbc/radio-canada and rte ireland and, via the extra \"radio now playing\" plugin, allzic radio, caroline flashback, cesky rozhlas, frequence3, jukeradio, klassikradio.de, linn radio, mother earth, naim radio, nova.fr, radioblues flac, radio espace, somehow jazz ------------------------------------------------------------------------ Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105 View this thread: http://forums.slimdevices.com/showthread.php?t=115282