Projects
Multimedia
pulseaudio-dlna
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 2
View file
pulseaudio-dlna.changes
Changed
@@ -1,4 +1,13 @@ ------------------------------------------------------------------- +Fri Mar 20 11:41:08 UTC 2015 - antoine.belvire@laposte.net + +- Update to 0.3.2: + * Add the Opus Encoder (new dependency: opus-tools) + * Fix a bug where an empty UPnP device name made the application + crash + * Add a missing dependency (python-gobject) + +------------------------------------------------------------------- Sun Feb 22 17:09:27 UTC 2015 - antoine.belvire@laposte.net - New package for pulseaudio-dlna 0.3.1
View file
pulseaudio-dlna.spec
Changed
@@ -16,7 +16,7 @@ # Name: pulseaudio-dlna -Version: 0.3.1 +Version: 0.3.2 Release: 0 License: GPL-3.0 Summary: A DLNA server which brings DLNA/UPnP support to PulseAudio @@ -29,12 +29,14 @@ Requires: dbus-1-python >= 1.2.0 Requires: python-beautifulsoup >= 3.2.1 Requires: python-docopt >= 0.6.1 +Requires: python-gobject >= 3.12.0 Requires: python-requests >= 2.2.1 Requires: python-setproctitle >= 1.0.1 Requires: vorbis-tools >= 1.4.0 Requires: sox >= 14.4.1 Requires: lame >= 3.99.0 Requires: flac >= 1.3.0 +Requires: opus-tools >= 0.1.8 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch
View file
pulseaudio-dlna-0.3.1.tar.gz/README.md -> pulseaudio-dlna-0.3.2.tar.gz/README.md
Changed
@@ -34,6 +34,11 @@ ## Changelog ## + * __0.3.2__ - (_2015-03-14_) + - Added the Opus Encoder (new dependency: `opus-tools`) (thanks to [MobiusHorizons](https://github.com/MobiusHorizons)) + - Fixed a bug where an empty UPNP device name made the application crash + - Added a missing dependency (`python-gobject`) + * __0.3.1__ - (_2015-02-13_) - Fixed a bug so that AVTransports other than 1 can be used (thanks to [martin-insulander-info](https://github.com/martin-insulander-info)) @@ -87,14 +92,16 @@ - python-docopt - python-requests - python-setproctitle +- python-gobject - vorbis-tools - sox - lame - flac +- opus-tools You can install all the dependencies in Ubuntu via: - sudo apt-get install python-dbus python-beautifulsoup python-docopt python-requests python-setproctitle vorbis-tools sox lame flac + sudo apt-get install python-dbus python-beautifulsoup python-docopt python-requests python-setproctitle python-gobject vorbis-tools sox lame flac opus-tools ### PulseAudio DBus module ### @@ -160,6 +167,7 @@ - ogg Ogg Vorbis - flac Free Lossless Audio Codec (FLAC) - wav Waveform Audio File Format (WAV) + - opus Opus Interactive Audio Codec (OPUS) --renderer-urls=<urls> set the renderer urls yourself. no discovery will commence. -v --version show the version. -h --help show the help. @@ -192,6 +200,7 @@ - Samsung Smart TV LED40 (UE40ES6100) - Xbmc / Kodi - Philips Streamium NP2500 Network Player +- Yamaha RX-475 (AV Receiver) - Majik DSM ## Supported encoders ## @@ -202,3 +211,4 @@ - __ogg__ Ogg Vorbis - __flac__ Free Lossless Audio Codec (FLAC) - __wav__ Waveform Audio File Format (WAV) +- __opus__ Opus Interactive Audio Codec (OPUS)
View file
pulseaudio-dlna-0.3.1.tar.gz/debian/changelog -> pulseaudio-dlna-0.3.2.tar.gz/debian/changelog
Changed
@@ -1,3 +1,11 @@ +pulseaudio-dlna (0.3.2) trusty; urgency=low + + * Added the Opus Encoder + * Fixed a bug where an empty UPNP device name made the application crash + * Added a missing dependency python-gobject + + -- Massimo Mund <mo@lancode.de> Sat, 14 Mar 2015 11:58:31 +0100 + pulseaudio-dlna (0.3.1) trusty; urgency=low * Fixed a bug so that AVTransports other than 1 can be used
View file
pulseaudio-dlna-0.3.1.tar.gz/debian/control -> pulseaudio-dlna-0.3.2.tar.gz/debian/control
Changed
@@ -18,10 +18,12 @@ python-docopt (>=0.6.1), python-requests (>=2.2.1), python-setproctitle (>=1.0.1), + python-gobject (>=3.12.0), vorbis-tools (>=1.4.0), sox (>=14.4.1), lame (>=3.99.0), flac (>=1.3.0), + opus-tools (>=0.1.8), ${misc:Depends} Homepage: https://github.com/masmu/pulseaudio-dlna Description: A small DLNA server which brings DLNA / UPNP support to
View file
pulseaudio-dlna-0.3.1.tar.gz/debian/pulseaudio-dlna.1 -> pulseaudio-dlna-0.3.2.tar.gz/debian/pulseaudio-dlna.1
Changed
@@ -1,7 +1,7 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.44.1. -.TH PULSEAUDIO-DLNA "1" "February 2015" "pulseaudio-dlna 0.3.1" "User Commands" +.TH PULSEAUDIO-DLNA "1" "March 2015" "pulseaudio-dlna 0.3.2" "User Commands" .SH NAME -pulseaudio-dlna \- manual page for pulseaudio-dlna 0.3.1 +pulseaudio-dlna \- manual page for pulseaudio-dlna 0.3.2 .SH DESCRIPTION .SS "Usage:" .IP @@ -31,6 +31,9 @@ \- wav Waveform Audio File Format (WAV) .TP +\- opus +Opus Interactive Audio Codec (OPUS) +.TP \fB\-\-renderer\-urls=\fR<urls> set the renderer urls yourself. no discovery will commence. .TP
View file
pulseaudio-dlna-0.3.1.tar.gz/pulseaudio_dlna/__main__.py -> pulseaudio-dlna-0.3.2.tar.gz/pulseaudio_dlna/__main__.py
Changed
@@ -29,6 +29,7 @@ - ogg Ogg Vorbis - flac Free Lossless Audio Codec (FLAC) - wav Waveform Audio File Format (WAV) + - opus Opus Interactive Audio Codec (OPUS) --renderer-urls=<urls> set the renderer urls yourself. no discovery will commence. --debug enables detailed debug messages. -v --version show the version.
View file
pulseaudio-dlna-0.3.1.tar.gz/pulseaudio_dlna/upnp/renderer.py -> pulseaudio-dlna-0.3.2.tar.gz/pulseaudio_dlna/upnp/renderer.py
Changed
@@ -24,6 +24,7 @@ import socket import logging import functools +import random import BeautifulSoup import pulseaudio_dlna.pulseaudio @@ -91,6 +92,10 @@ ENCODING = 'utf-8' def __init__(self, name, ip, port, udn, services): + name = name.strip() + if name == '': + name = 'Unnamed device (#{random_id})'.format( + random_id=random.randint(1000, 9999)) self.name = name self.short_name = self._short_name(name) self.ip = ip @@ -100,7 +105,7 @@ self.state = self.IDLE def _short_name(self, name): - return re.sub(r'[^a-z]', '', name.lower()) + return re.sub(r'[^a-z0-9]', '', name.lower()) def _get_av_transport(self): for service in self.services:
View file
pulseaudio-dlna-0.3.1.tar.gz/pulseaudio_dlna/upnp/server.py -> pulseaudio-dlna-0.3.2.tar.gz/pulseaudio_dlna/upnp/server.py
Changed
@@ -96,6 +96,7 @@ ENCODER_LAME = 'lame' ENCODER_FLAC = 'flac' ENCODER_OGG = 'ogg' + ENCODER_OPUS = 'opus' ENCODER_WAV = 'wav' RECORDER_PULSEAUDIO = 'pulseaudio' @@ -116,6 +117,7 @@ self.ENCODER_LAME, self.ENCODER_FLAC, self.ENCODER_OGG, + self.ENCODER_OPUS, self.ENCODER_WAV, ] @@ -150,6 +152,9 @@ if type_ == self.ENCODER_OGG: self.encoder_cmd = 'oggenc -r -' self.encoder_mime = 'audio/ogg' + if type_ == self.ENCODER_OPUS: + self.encoder_cmd = 'opusenc --padding 0 --max-delay 0 --expect-loss 1 --framesize 2.5 --raw-rate 44100 --raw --bitrate 64 - -' + self.encoder_mime = 'audio/opus' if type_ == self.ENCODER_WAV: self.encoder_cmd = 'sox -t raw -b 16 -e signed -c 2 -r 44100 - -t wav -r 44100 -b 16 -L -e signed -c 2 -' self.encoder_mime = 'audio/wav'
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.