diff options
author | phintuka <phintuka> | 2008-10-19 17:45:56 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2008-10-19 17:45:56 +0000 |
commit | e279d7845e787bdad719f37fa19a6542abf14257 (patch) | |
tree | 282913d54fff249907a482204a5c7c90b9ee084c | |
parent | 4f6398ae88b61f90d44cfdf50e6d66ee27c71042 (diff) | |
download | xineliboutput-e279d7845e787bdad719f37fa19a6542abf14257.tar.gz xineliboutput-e279d7845e787bdad719f37fa19a6542abf14257.tar.bz2 |
Added input plugin type to cdda GETAUTOPLAYSIZE request.
This makes it possible to query playlist size without opening the
input plugin and without interfering the playback.
-rw-r--r-- | media_player.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/media_player.c b/media_player.c index 20947f8d..2c91ac41 100644 --- a/media_player.c +++ b/media_player.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: media_player.c,v 1.63 2008-09-18 15:59:42 phintuka Exp $ + * $Id: media_player.c,v 1.64 2008-10-19 17:45:56 phintuka Exp $ * */ @@ -249,7 +249,7 @@ void cXinelibPlayer::Activate(bool On) // cdda tracks if(m_Playlist.Count() == 1 && !strcmp("cdda:/", m_Playlist.First()->Filename)) { - int count = cXinelibDevice::Instance().PlayFileCtrl("GETAUTOPLAYSIZE"); + int count = cXinelibDevice::Instance().PlayFileCtrl("GETAUTOPLAYSIZE CD"); if(count>1) { for(int i=0; i<count; i++) m_Playlist.Read(cString::sprintf("cdda:/%d", i+1)); |