← Back to team overview

openlp-core team mailing list archive

Re: [Merge] lp:~arjan-i/openlp/images_groups_bugfix into lp:openlp

 

That is not correct.  The whole design of mediaitems are to support a single serviceitem being created and added to a single target.
The addTo calls a function in mediamanageritem which controls the creation of the serviceitem via generateServiceItem and the adding to the correct controller.

ServiceItemContext this was added to show where the request came from not the target.

Your code would add the serviceitem twice to a target.

The mediamanager lists only have the concept of generating a single serviceitem with either one or more selected leaves included.  

How can you differentiate between adding two leaves to one service item and adding two service items of one leaf each.

What are you trying to achieve and I will help you implement it if possible ;-) 
-- 
https://code.launchpad.net/~arjan-i/openlp/images_groups_bugfix/+merge/156165
Your team OpenLP Core is subscribed to branch lp:openlp.


References