Overview¶
Cohen3 is a DLNA/UPnP Media Server written in Python 3, providing several UPnP MediaServers and MediaRenderers to make simple publishing and streaming different types of media content to your network.
If you need the python 2 version you should take a look into the original project: Cohen Framework project managed by the github user unintended
Cohen/Cohen3 are actually a highly simplified and refreshed versions of Coherence Framework project by Frank Scholz which looks like no longer supported.
Latest release: (Changelog)
GitHub: https://github.com/opacam/Cohen3
Issue tracker: https://github.com/opacam/Cohen3/issues
PyPI: https://pypi.python.org/pypi/cohen3 (still not available)
Free software: MIT licence
Features¶
- Cohen is known to work with various clients
Sony Playstation 3/4
XBox360/One
Denon AV Receivers
WD HD Live MediaPlayers
Samsung TVs
Sony Bravia TVs
- And provides a lot of backends to fulfil your media streaming needs
Local file storage
YouTube
Twitch.tv
and much more…
Quickstart¶
To just export some files on your hard-disk fire up Cohen with an UPnP MediaServer with a file-system backend enabled:
$ cohen3 --plugin=backend:FSStore,content:/path/to/your/media/files
You can also configure cohen via a config file. Feel free to check our example misc/cohen.conf.example
.
The config file can be placed anywhere, cohen looks by default for
$HOME/.cohen3
, but you can pass the path via the commandline option
‘-c’ to it too:
$ cohen3 -c /path/to/config/file
Table of Contents¶
- Installation
- Command-Line Interface
- Backends
- Write a backend
- The events system
- Cohen3 source tree
- coherence.backend (module)
- coherence.base (module)
- coherence.dbus_constants (module)
- coherence.dbus_service (module)
- coherence.json_service (module)
- coherence.log (module)
- coherence.transcoder (module)
- coherence.tube_service (module)
- coherence.backends (package)
- coherence.backends.ampache_storage (module)
- coherence.backends.appletrailers_storage (module)
- coherence.backends.audiocd_storage (module)
- coherence.backends.axiscam_storage (module)
- coherence.backends.banshee_storage (module)
- coherence.backends.bbc_storage (module)
- coherence.backends.buzztard_control (module)
- coherence.backends.dvbd_storage (module)
- coherence.backends.elisa_renderer (module)
- coherence.backends.elisa_storage (module)
- coherence.backends.feed_storage (module)
- coherence.backends.flickr_storage (module)
- coherence.backends.fs_storage (module)
- coherence.backends.gallery2_storage (module)
- coherence.backends.gstreamer_renderer (module)
- coherence.backends.iradio_storage (module)
- coherence.backends.itv_storage (module)
- coherence.backends.lastfm_storage (module)
- coherence.backends.lolcats_storage (module)
- coherence.backends.mediadb_storage (module)
- coherence.backends.miroguide_storage (module)
- coherence.backends.picasa_storage (module)
- coherence.backends.playlist_storage (module)
- coherence.backends.radiotime_storage (module)
- coherence.backends.swr3_storage (module)
- coherence.backends.ted_storage (module)
- coherence.backends.test_storage (module)
- coherence.backends.tracker_storage (module)
- coherence.backends.twitch_storage (module)
- coherence.backends.yamj_storage (module)
- coherence.backends.youtube_storage (module)
- coherence.backends.models (package)
- coherence.extern (package)
- coherence.upnp (package)
- coherence.upnp.core (package)
- coherence.upnp.core.action (module)
- coherence.upnp.core.device (module)
- coherence.upnp.core.DIDLLite (module)
- DIDLLite
Resources
Resource
PlayContainerResource
Object
Item
ImageItem
Photo
AudioItem
MusicTrack
AudioBroadcast
AudioBook
VideoItem
Movie
VideoBroadcast
MusicVideoClip
PlayListItem
TextItem
Container
Person
MusicArtist
PlaylistContainer
Album
MusicAlbum
PhotoAlbum
Genre
MusicGenre
MovieGenre
StorageSystem
StorageVolume
StorageFolder
DIDLElement
- DIDLLite
- coherence.upnp.core.dlna (module)
- coherence.upnp.core.event (module)
- coherence.upnp.core.msearch (module)
- coherence.upnp.core.service (module)
- coherence.upnp.core.soap_lite (module)
- coherence.upnp.core.soap_proxy (module)
- coherence.upnp.core.soap_service (module)
- coherence.upnp.core.ssdp (module)
- coherence.upnp.core.utils (module)
- coherence.upnp.core.uuid (module)
- coherence.upnp.core.variable (module)
- coherence.upnp.core.xml_constants (module)
- coherence.upnp.devices (package)
- coherence.upnp.devices.basics (module)
- coherence.upnp.devices.control_point (module)
- coherence.upnp.devices.internet_gateway_device_client (module)
- coherence.upnp.devices.media_renderer (module)
- coherence.upnp.devices.media_renderer_client (module)
- coherence.upnp.devices.media_server (module)
- coherence.upnp.devices.media_server_client (module)
- coherence.upnp.devices.wan_connection_device_client (module)
- coherence.upnp.devices.wan_device_client (module)
- coherence.upnp.services (package)
- coherence.upnp.services.clients (subpackage)
- coherence.upnp.services.clients.av_transport_client (module)
- coherence.upnp.services.clients.connection_manager_client (module)
- coherence.upnp.services.clients.content_directory_client (module)
- coherence.upnp.services.clients.dimming_client (module)
- coherence.upnp.services.clients.rendering_control_client (module)
- coherence.upnp.services.clients.switch_power_client (module)
- coherence.upnp.services.clients.wan_common_interface_config_client (module)
- coherence.upnp.services.clients.wan_ip_connection_client (module)
- coherence.upnp.services.clients.wan_ppp_connection_client (module)
- coherence.upnp.services.servers (subpackage)
- coherence.upnp.services.servers.av_transport_server (module)
- coherence.upnp.services.servers.connection_manager_server (module)
- coherence.upnp.services.servers.content_directory_server (module)
- coherence.upnp.services.servers.dimming_server (module)
- coherence.upnp.services.servers.media_receiver_registrar_server (module)
- coherence.upnp.services.servers.rendering_control_server (module)
- coherence.upnp.services.servers.scheduled_recording_server (module)
- coherence.upnp.services.servers.switch_power_server (module)
- coherence.upnp.core (package)
- coherence.web (package)
- Contributing
- Contributor Covenant Code of Conduct
- Changelog
- 0.9.1 - Fixes SSDP datagram sending
- 0.9.0 - Introduces new events system
- 0.8.3 - Introduces Backend’s models
- 0.8.2 - Fixes and enhancements
- 0.8.1 - Fixes and enhancements
- 0.8.0 - Cohen3 project started
- 0.7.3 - Fixes and improvements
- 0.7.2 - Minor bugfixes
- 0.7.0 - Cohen project started
- 0.0.1 - 0.7.0 - Coherence project