Playback issues with 1.4
  • Hi, I have 2 issues with playback:

    Campcaster installed with synaptic on Ubuntu Karmic.
    The version is 1.4.0+3436-0~karmic1 (apt.64studio.com)
    I have 1 soundcard. Both soundcards in the option panel are set to hw:0,0

    1. Now playing field not displaying infos

    In STUDIO:

    I upload a file, tag it (Title, etc).
    In Live mode: I can hear the sound, infos are displayed in the Now-playing-field.

    I make a playlist with the file.
    In Live mode: I can hear the sound, infos are displayed in the Now-playing-field.

    Now I schedule the playlist.
    When the scheduler starts playing, I can hear the sound, but no there is no info in the Now-playing-field.

    In WEB UI:
    When the scheduler starts playing, I can hear the sound, but no there is no info in the Now-playing-field.
    In syslog it says:

    apache2: PHP Notice:  Uninitialized string offset: 0 in /usr/share/campcaster/www/htmlUI/var/ui_scheduler.class.php on line 748
    apache2: PHP Notice:  Uninitialized string offset: 1 in /usr/share/campcaster/www/htmlUI/var/ui_scheduler.class.php on line 748
    apache2: PHP Notice:  Uninitialized string offset: 2 in /usr/share/campcaster/www/htmlUI/var/ui_scheduler.class.php on line 748
    apache2: PHP Notice:  Uninitialized string offset: 3 in /usr/share/campcaster/www/htmlUI/var/ui_scheduler.class.php on line 748
    apache2: PHP Notice:  Uninitialized string offset: 4 in /usr/share/campcaster/www/htmlUI/var/ui_scheduler.class.php on line 748
    apache2: PHP Notice:  Uninitialized string offset: 5 in /usr/share/campcaster/www/htmlUI/var/ui_scheduler.class.php on line 748
    apache2: PHP Notice:  Uninitialized string offset: 6 in /usr/share/campcaster/www/htmlUI/var/ui_scheduler.class.php on line 748
    apache2: PHP Notice:  Uninitialized string offset: 7 in /usr/share/campcaster/www/htmlUI/var/ui_scheduler.class.php on line 748
    apache2: PHP Notice:  Undefined variable: secondsElapsed in /usr/share/campcaster/www/htmlUI/var/ui_scheduler.class.php on line 681
    apache2: PHP Notice:  Undefined variable: n_clip in /usr/share/campcaster/www/htmlUI/var/ui_scheduler.class.php on line 718
    apache2: PHP Notice:  Undefined variable: n_clip in /usr/share/campcaster/www/htmlUI/var/ui_scheduler.class.php on line 719
    apache2: PHP Notice:  Undefined variable: n_pl in /usr/share/campcaster/www/htmlUI/var/ui_scheduler.class.php on line 720
    apache2: PHP Notice:  Undefined variable: n_clip in /usr/share/campcaster/www/htmlUI/var/ui_scheduler.class.php on line 721
    apache2: PHP Notice:  Undefined variable: n_clip in /usr/share/campcaster/www/htmlUI/var/ui_scheduler.class.php on line 722
    apache2: PHP Notice:  Undefined variable: n_clip in /usr/share/campcaster/www/htmlUI/var/ui_scheduler.class.php on line 723
    


    2. Previewing files in the scratchpad: stop button doesn't work

    In STUDIO:
    When previewing the files in the scratchpad, I can hear the files, but the stop button doesn't work. The files keep playing.
  • 2 Comments sorted by
  • Actually, No.2 (Previewing files in the scratchpad: stop button doesn't work) is more complicated:

    1. Schedule a playlist, wait for the scheduler to start playing.
    2. While the scheduler is playing, select a file in the scratchpad and play it (if you have 1 soundcard, nothing happens)
    3. Wait for the playlist to finish.
    4. Select a file in the scratchpad, click on play. The stop button won't work any more until you logout.
  • Vote Up0Vote Down Daniel JamesDaniel James
    Posts: 844Member, Sourcefabric Team
    Hi alvaro,

    > 2. While the scheduler is playing, select a file in the scratchpad and
    > play it (if you have 1 soundcard, nothing happens)

    I don't think that's a bug. In a one-soundcard station, we wouldn't want
    the user to accidentally play the scratchpad file instead of (or at the
    same time as) the scheduled output. We actually want the currently
    playing audio to have a 'lock' on the interface.

    Do you need an extra USB audio interface to test properly? I've just
    been using a SoundBlaster Live USB for testing cue output, but I found
    that a Plantronics USB v4 dongle (which I normally use for Skype) was
    more problematic with Campcaster.

    I've also had more reliable results when switching audio interfaces
    after killing Pulseaudio and setting it not to respawn in
    /etc/pulse/client.conf like this:

    http://rivendell.tryphon.org/wiki/index.php/Ubuntu_-_No_soun d/sound_card_in_Rivendell_after_setup

    > 4. Select a file in the scratchpad, click on play. The stop button won't
    > work any more until you logout.

    That's definitely reproduced here. Same in the Live Mode window, the
    preview stop button doesn't work there either. I've updated the ticket:

    http://dev.sourcefabric.org/browse/CC-1533

    I noticed that instead of the Play button becoming a Pause button while
    the file is being preview, it stays as a Play button and can be used to
    restart the preview.

    Cheers!

    Daniel