Method for determining the lifetime of a software application associated with audio-video data, wherein data of the software application and said audio-video data are stored in a first storage medium, the audio-video data comprising a plurality of titles, the method comprising the steps of - detecting, by means for detecting selection of a title, selection of a first title (Title#1-3) read from the first storage medium (Disc-B); - detecting on the first storage medium a first application (i-vi) associated with the first title, and an indication relating to the first application, wherein said indication defines a termination condition for the application and comprises two flags that each can assume at least two different values; - playing back the first title and executing the first application; - upon termination of the first title, terminating the first application if the indication indicates that the first application (i,ii) is bound to title, and otherwise continuing the first application (iii-vi); - after termination of the first title, detecting selection of a second title read from the first storage medium; - playing back the second title, and executing the first application if said indication relating to the first application indicates that the application may continue with the second title, wherein otherwise the first application is stopped before playing back the second title; - upon ejection of the first storage medium, if the first application is executing, terminating the first application if the indication indicates that the first application is bound to storage medium (iii,iv,v), and otherwise continuing the first application (vi); - detecting insertion of a second storage medium, wherein the first application is executed if said indication indicates that the first application is not bound to storage medium; - detecting selection of a second title read from said second storage medium; - determining if the second title is associated with the executing application; and - terminating the first application if the second title is not associated with the first application, and otherwise continuing the first application. - detecting, by means for detecting selection of a title, selection of a first title (Title#1-3) read from the first storage medium (Disc-B); - detecting on the first storage medium a first application (i-vi) associated with the first title, and an indication relating to the first application, wherein said indication defines a termination condition for the application and comprises two flags that each can assume at least two different values; - playing back the first title and executing the first application; - upon termination of the first title, terminating the first application if the indication indicates that the first application (i,ii) is bound to title, and otherwise continuing the first application (iii-vi); - after termination of the first title, detecting selection of a second title read from the first storage medium; - playing back the second title, and executing the first application if said indication relating to the first application indicates that the application may continue with the second title, wherein otherwise the first application is stopped before playing back the second title; - upon ejection of the first storage medium, if the first application is executing, terminating the first application if the indication indicates that the first application is bound to storage medium (iii,iv,v), and otherwise continuing the first application (vi); - detecting insertion of a second storage medium, wherein the first application is executed if said indication indicates that the first application is not bound to storage medium; - detecting selection of a second title read from said second storage medium; - determining if the second title is associated with the executing application; and - terminating the first application if the second title is not associated with the first application, and otherwise continuing the first application.