Koval Valery a écrit :
> May be I'm not fully describe my patch or I don't understand you (or I
> don't have this example early :) ).
>
> Please describe me how can I switch between 2 standards - PAL and
> SECAM-DK (not SECAM 0x7F) for 2 channels? The channels I watch from
> cable TV (in my
Mathias Weber wrote:
> Dirk Meyer wrote:
>> Dirk Meyer wrote:
>>> kaa.popcorn is no Application, the video and audio player _have_ a
>>> popcorn instance but do not inherit from it. So application resume is
>>> only needed for ressource handling. So I vote for suspend and resume
>>> without prefix.
Dirk Meyer wrote:
> Dirk Meyer wrote:
>> kaa.popcorn is no Application, the video and audio player _have_ a
>> popcorn instance but do not inherit from it. So application resume is
>> only needed for ressource handling. So I vote for suspend and resume
>> without prefix. But we need an extra functi
Dirk Meyer wrote:
> kaa.popcorn is no Application, the video and audio player _have_ a
> popcorn instance but do not inherit from it. So application resume is
> only needed for ressource handling. So I vote for suspend and resume
> without prefix. But we need an extra function can_suspend to check
Mathias Weber wrote:
> Dirk Meyer wrote:
>> Mathias Weber wrote:
>>> I think suspend would be good for pause the plugin/application but
>>> resume is still to generic. And i can't think of something better then
>>> resume i looked trough dict.leo but i haven't found something that fits
>>> for m
Dirk Meyer wrote:
> Mathias Weber wrote:
>> I think suspend would be good for pause the plugin/application but
>> resume is still to generic. And i can't think of something better then
>> resume i looked trough dict.leo but i haven't found something that fits
>> for me.
>> What would you think o
Dirk Meyer wrote:
> Mathias Weber wrote:
>> list = self.get_resources('audio')
>>
>> answer = list[0][0].resource_suspend()
>
> get_resources should be atomic. So you should try to get all
> ressources you need and get a dict as return with the once that failed
> without reserving any ressources.
Mathias Weber wrote:
> I think suspend would be good for pause the plugin/application but
> resume is still to generic. And i can't think of something better then
> resume i looked trough dict.leo but i haven't found something that fits
> for me.
> What would you think of detach and reattach?
S
Mathias Weber wrote:
> list = self.get_resources('audio')
>
> answer = list[0][0].resource_suspend()
get_resources should be atomic. So you should try to get all
ressources you need and get a dict as return with the once that failed
without reserving any ressources. This is like it is now and I do
Hans Meine wrote:
> Am Montag, 02. April 2007 17:59:03 schrieb Dirk Meyer:
>> Right, that is why I used plugin_pause and plugin_resume. But you
>> could not call this functions on applications. So suspend could be an
>> idea for a name, but what about resume? Is it pause/resume for
>> playback or s
Am Montag, 02. April 2007 17:59:03 schrieb Dirk Meyer:
> Right, that is why I used plugin_pause and plugin_resume. But you
> could not call this functions on applications. So suspend could be an
> idea for a name, but what about resume? Is it pause/resume for
> playback or suspend/resume for ressou
Dirk Meyer wrote:
> Hans Meine wrote:
>> Am Montag, 02. April 2007 17:49:27 schrieb Mathias Weber:
>>> I see that you already do start the functions with the names. but
>>> actually this are methods in usually you don't do this with methods this
>>> is something done in c because there where no enc
Hans Meine wrote:
> Am Montag, 02. April 2007 17:49:27 schrieb Mathias Weber:
>> I see that you already do start the functions with the names. but
>> actually this are methods in usually you don't do this with methods this
>> is something done in c because there where no encapsulation.
>
> I disagr
Am Montag, 02. April 2007 17:49:27 schrieb Mathias Weber:
> I see that you already do start the functions with the names. but
> actually this are methods in usually you don't do this with methods this
> is something done in c because there where no encapsulation.
I disagree; "pause" is simply too
Mathias Weber wrote:
> Dirk Meyer wrote:
>>
>> OK. But do not include it into plugin.py and make an keep it an extra
>> file.
>
> ok you are right.
>
>> ... The
>> functions isApplication and isPlugin are not really needed, you could
>> ask isinstance.
>
> I think isinstance is fine. So I will dro
Dirk Meyer wrote:
>
> OK. But do not include it into plugin.py and make an keep it an extra
> file.
ok you are right.
> ... The
> functions isApplication and isPlugin are not really needed, you could
> ask isinstance.
I think isinstance is fine. So I will drop the resource_type.
> Another idea
16 matches
Mail list logo