~ubuntu-branches/ubuntu/natty/gecko-mediaplayer/natty

« back to all changes in this revision

Viewing changes to src/plugin.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Sasa Bodiroza
  • Date: 2008-06-03 23:05:54 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20080603230554-q6rrzypovguwsrxr
Tags: 0.6.2-0ubuntu1
* New upstream release (LP: #236592)
* Removed debian/patches/add_docs_tech_javascript, because it is included
  upstream
* In debian/control: Changed "Gnome" to "GNOME" in Description to make
  lintian happy

Show diffs side-by-side

added added

removed removed

Lines of Context:
464
464
            g_strlcpy(item->src, stream->url, 1024);
465
465
            item->requested = TRUE;
466
466
            item->play = TRUE;
 
467
            item->streaming = streaming(item->src);
467
468
            playlist = g_list_append(playlist, item);
468
469
            stream->notifyData = item;
469
470
        } else {
534
535
    if (item->cancelled || item->retrieved)
535
536
        NPN_DestroyStream(mInstance, stream, NPRES_USER_BREAK);
536
537
 
537
 
    if (strstr((char *) buffer, "ICY 200 OK") != NULL) {
 
538
    if (strstr((char *) buffer, "ICY 200 OK") != NULL || item->streaming == TRUE) {
538
539
        item->streaming = TRUE;
539
540
        open_location(this, item, FALSE);
540
541
        item->requested = TRUE;