Re: streaming Spotify to Sony BDP-S370 using Rygel on Ubuntu 12.04



I managed to get Rygel stream working again,  streaming Spotify to Sony BDP-S370 using Rygel on Ubuntu 12.04.

i uninstalled rygel version 0.18.1-1.~jensge1~precise4, went back to Ubuntu 12.04 version 0.14.0-1 and it now works under first source CMI8788 [Oxygen HD Audio] Analog Stereo, as long as I have that source selected in pavucontrol playback tab.  If I select DLNA/UPnP streaming I get sound but it stutters.

Stuart

On Thu, May 2, 2013 at 3:47 PM, Stuart Anderson <stuart errol anderson gmail com> wrote:
Hi,

I was recently streaming Spotify to Sony BDP-S370 using Rygel on Ubuntu 12.04.  Update Manager had some upgrades to rygel but was holding them back.  I uninstalled rygel , added the ppas and installed the new version 0.18.1-1.~jensge1~precise4
Now it doesnt work . I have server icons showing on the Sony, 'Audio on stuart-2012' and 'Gst Launch' .  If I click on them I get "There is no playable data" when I try to start streaming from either.

If I start rygel in the terminal I get;
Rygel-Tracker-Message: rygel-tracker-item-factory.vala:66: Using /home/stuart/Music as upload directory for object.item.audioItem.musicTrack
Rygel-Tracker-Message: rygel-tracker-item-factory.vala:66: Using /home/stuart/Videos as upload directory for object.item.videoItem
Rygel-Tracker-Message: rygel-tracker-item-factory.vala:66: Using /home/stuart/Pictures as upload directory for object.item.imageItem.photo
Rygel-Message: New plugin 'Tracker' available
Mediathek-Message: rygel-mediathek-plugin.vala:33: Plugin 'ZDFMediathek' disabled by user, ignoring..
Rygel-Message: New plugin 'Playbin' available
Rygel-Message: New plugin 'GstLaunch' available
Rygel-Message: New plugin 'MediaExport' available
MediaExport-Message: rygel-media-export-plugin.vala:97: Deactivating plugin 'MediaExport' in favor of plugin 'Tracker'
Rygel-Message: New plugin 'org.mpris.MediaPlayer2.spotify' available
Rygel-Message: New plugin 'org.gnome.UPnP.MediaServer2.PulseAudio' available
MediaExport-Message: 'file:///home/stuart/Videos' harvested
MediaExport-Message: 'file:///home/stuart/Music' harvested
MediaExport-Message: 'file:///home/stuart/Pictures' harvested

get a regular error;
(rygel:3967): GLib-CRITICAL **: g_variant_get_int64: assertion `g_variant_is_of_type (value, G_VARIANT_TYPE_INT64)' failed

my rygel.conf file (/home/stuart/.config/rygel.conf) is;

-----------------------------------------

# Configuration file for Rygel
#
# In most cases, you would want to use the rygel-preferences UI rather than
# editing this file by hand.

# General configuration options

[general]
# Set it to 'false' if you want to only use the streaming part of Rygel and/or
# don't want it to advertize itself on the UPnP network. If you want to
# completely disable rygel, just don't run it then. :)
upnp-enabled=true

# Set it to 'false' if you want to disable transcoding support.
enable-transcoding=true

# Set it to 'false' if you want to disable MP3 transcoding support.
enable-mp3-transcoder=true

# Set it to 'false' if you want to disable LPCM transcoding support.
enable-lpcm-transcoder=true

# Set it to 'false' if you want to disable mpeg transport stream
# (mpeg 2 video + audio) transcoding support.
enable-mp2ts-transcoder=true

# Set it to 'false' if you want to disable WMV transcoding support.
enable-wmv-transcoder=true

# Set it to 'false' if you want to disable AAC_ISO_320 transcoding support.
enable-aac-transcoder=false

# Set it to 'false' if you want to disable AVC_MP4 transcoding support.
enable-avc-transcoder=false

# Where video files should be saved if allow-upload is true.
# Defaults to @VIDEOS@, the standard videos folder (typically ${HOME}/Videos).
video-upload-folder= VIDEOS@

# Where music files should be saved if allow-upload is true
# Defaults to @MUSIC@, the standard music folder (typically ${HOME}/Music).
music-upload-folder= MUSIC@

# Where picture files should be saved if allow-upload is true
# Defaults to @PICTURES@, the standard picture folder (typically ${HOME}/Pictures).
picture-upload-folder= PICTURES@

# The network interface to attach rygel to. You can also use network IP or even
# ESSID for wireless networks if you are using NetworkManager. Leave it blank
# for dynamic configuration.
interface=
# The port to run HTTP server on. 0 means dynamic.
port=0

# Comma-separated list of domain:level pairs to specify log level thresholds for
# individual domains. domain could be either 'rygel', name of a plugin or '*'
# for all domains. Allowed levels are:
#
# 1=critical
# 2=error
# 3=warning
# 4=message/info
# 5=debug
log-level=*:4

# Allow upload of media files?
allow-upload=true

# Allow deletion of media folders and files?
allow-deletion=true

# Semicolon-separated list of device user-agents (or parts thereof) that need
# a downgrade in the UPnP device versions
# WARNING /!\: Only change this setting when told to do so or when you know
#              what you're doing. If you find that adding your device makes it
#              working with Rygel, please file a bug at
#              https://bugzilla.gnome.org/enter_bug.cgi?product=Rygel&component=IOP
#              so we can include it in future releases.
#force-downgrade-for="" S/1.0

# Plugin specific sections
#
# Some options are generic and some are specific to each plugin.
# The generic ones are:
#
# * enabled: As the name suggests, to enable or disable the plugin.
# * title: The title of the plugin to advertise to UPnP clients. This can
#          contain the following automatically substituted keywords:
#       * @REALNAME@: The real name of the user as returned by
#                     g_get_real_name() function of glib library.
#       * @USERNAME@: The user name of the user as returned by
#                     g_get_user_name() function of glib library.
#       * @HOSTNAME@: The host name of the machine rygel is running on, as
#                     returned by g_get_host_name() function of glib library.
#

[Tracker]
enabled=true
share-pictures=true
share-videos=true
share-music=true
strict-sharing=false
title= REALNAME@'s media

[MediaExport]
enabled=true
title= REALNAME@'s media
# List of URIs to export. Following variables are automatically substituted by
# the appropriate XDG standar media folders by Rygel for you.
#
#       * @MUSIC@: The standard music folder (typically ${HOME}/Music).
#       * @VIDEOS@: The standard videos folder (typically ${HOME}/Videos).
#       * @PICTURES@: The standard pictures folder (typically ${HOME}/Pictures).
#
uris= MUSIC@;@VIDEOS@;@PICTURES@;
include-filter=.mp3;.oga;.ogv;.ogg;.mkv;.avi;.mp4;.m4v;.m4a;.mpeg;.mpg;.ts;.flac;.jpeg;.jpg;.png;.wav;.wma;.wmv;.asf;.mpc;.mpp;.wv;.aac;.mka;.mp2;.webm;.ape;.m2ts
extract-metadata=true
monitor-changes=true

[Playbin]
enabled=true
title=Audio/Video playback on @HOSTNAME@

[ZDFMediathek]
enabled=false
# List of ids of broadcasts
rss=508
update-interval=1800
video-format=wmv

[GstLaunch]
enabled=true
#launch-items=audiotestsrc;videotestsrc;videotestoverlay
#audiotestsrc-title=Audiotestsrc
#audiotestsrc-mime=audio/x-wav
#audiotestsrc-launch=audiotestsrc ! wavenc
#videotestsrc-title=Videotestsrc
#videotestsrc-mime=video/mpeg
#videotestsrc-launch=videotestsrc ! ffenc_mpeg2video ! mpegtsmux
#videotestoverlay-title=Videotestsrc with timeoverlay 2
#videotestoverlay-mime=video/mpeg
#videotestoverlay-launch=videotestsrc ! timeoverlay ! ffenc_mpeg2video ! mpegtsmux
launch-items=myaudioflac;mypulseaudiosink
mypulseaudiosink-title=Audio on @HOSTNAME@
mypulseaudiosink-mime=audio/x-wav
mypulseaudiosink-launch=pulsesrc device=alsa_output.pci-0000_07_04.0.analog-stereo.monitor ! wavpackenc

myaudioflac-title=FLAC audio on @HOSTNAME@
myaudioflac-mime=audio/flac
myaudioflac-launch=pulsesrc device=upnp.monitor ! flacenc

-----------------------------------------------------
 some extracts from from list-sources;
pacmd list-sources

Sink #0
    State: SUSPENDED
    Name: alsa_output.pci-0000_00_1b.0.analog-stereo
    Description: Built-in Audio Analog Stereo
Sink #1
    State: RUNNING
    Name: alsa_output.pci-0000_07_04.0.analog-stereo
    Description: CMI8788 [Oxygen HD Audio] Analog Stereo
Sink #2
    State: SUSPENDED
    Name: upnp
    Description: DLNA/UPnP Streaming
Sink #3
    State: SUSPENDED
    Name: combined
    Description: Simultaneous output to Built-in Audio Analog Stereo, CMI8788 [Oxygen HD Audio] Analog Stereo
   
Source #0
    State: SUSPENDED
    Name: alsa_output.pci-0000_00_1b.0.analog-stereo.monitor
   
Source #1
    State: IDLE
    Name: alsa_output.pci-0000_07_04.0.analog-stereo.monitor
    Description: Monitor of CMI8788 [Oxygen HD Audio] Analog Stereo

Source #2
    State: SUSPENDED
    Name: upnp.monitor
    Description: Monitor of DLNA/UPnP Streaming

Source #3
    State: SUSPENDED
    Name: combined.monitor
    Description: Monitor Source of Simultaneous output to Built-in Audio Analog Stereo, CMI8788 [Oxygen HD Audio] Analog Stereo

--------------------------------

I have set up paprefs;

 Network access tab
  ticked ; make discoverable PulseAudio network sound devices available locally
 Network server tab
  ticked ; all 5 options
 Multicast/RTP tab
  ticked Enable Multicast/RTP receiver
  ticked Enable Multicast/RTP sender
   selected; send audio from local speakers
 Simultaneous Output tab
  selected add virtual device for simultaneous output on all local sound cards

I have tried various options in pavucontrol, including enabling DLNA/UPnP streaming in the playback tab, but it makes no difference

Any ideas?

Stuart




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]