|
pianod2
multisource multiuser scriptable networked music player
|
Read media stream metadata via gstreamer. More...
#include <gstreammetadata.h>


Public Member Functions | |
| GstreamerMetadataReader (const std::string &path) | |
Public Member Functions inherited from Audio::GstreamerMediaReader | |
| GstreamerMediaReader (const std::string &media_url, int timeout=15) | |
| Base abstract class for reading a media file or URL using gstreamer. More... | |
Public Member Functions inherited from Audio::GstreamerDoublePipeline | |
| GstreamerDoublePipeline ()=default | |
| virtual | ~GstreamerDoublePipeline ()=default |
Public Member Functions inherited from Audio::GstreamerSimplePipeline | |
| GstreamerSimplePipeline () | |
| virtual | ~GstreamerSimplePipeline () |
Private Member Functions | |
| bool | notification (GstMessage *message) |
Additional Inherited Members | |
Static Public Member Functions inherited from Media::Metadata | |
| static float | gainFromiTunesNormalization (const char *) |
| Get the iTunes normalization, a/k/a sound check. More... | |
| static float | gainFromiTunesNormalization (const std::string &value) |
| static float | getFileGain (const std::string &filename) |
| Get a file's gain for playback. More... | |
| static const Metadata | getMetadata (const std::string &filename) |
| Get metadata using whatever best mechanism is available. More... | |
Public Attributes inherited from Media::Metadata | |
| std::string | artist |
| std::string | album |
| std::string | title |
| std::string | cddb_id |
| std::string | genre |
| int | year = 0 |
| int | track_number = 0 |
| int | track_count = 0 |
| int | disc_number = 0 |
| int | disc_count = 0 |
| float | duration = 0 |
| float | gain = 0 |
Protected Member Functions inherited from Audio::GstreamerDoublePipeline | |
| void | push (GstElement *item) |
| Push an output element into the filter graph. More... | |
| void | pushSource (GstElement *item) |
| Wire an element to the end of the source pipeline/filter graph. More... | |
Protected Member Functions inherited from Audio::GstreamerSimplePipeline | |
| void | add (GstElement *element) |
| void | throwDeferredException (const GstreamerAudioException &exception, bool asynchronously=false) const |
| "Throw" an exception from an asyncrhonous player thread. More... | |
| void | throwAsyncException (const GstreamerAudioException &exception) |
| void | push (GstElement *item) |
| Wire an item to the pipeline/filter graph. More... | |
| GstElement * | createElement (const char *name, const std::string &overrides="") |
| Create a gstreamer element and add it to the pipeline/bin, unwired. More... | |
| GstState | currentPipelineState () const |
| Query the pipeline's current state. More... | |
| void | setPipelineState (GstState state) |
| Set the pipeline's state. More... | |
Static Protected Member Functions inherited from Media::Metadata | |
| static void | splitOf (const char *value, int *first, int *second) |
Split a string <number>/<number> into its two components. More... | |
| static void | splitOf (const std::string &value, int *first, int *second) |
Protected Attributes inherited from Audio::GstreamerMediaReader | |
| const bool | is_network = false |
| True if media is network streaming. More... | |
| const std::string | url |
| Media URL or filename. More... | |
Protected Attributes inherited from Audio::GstreamerSimplePipeline | |
| GstElement * | pipeline |
| Filter graph for elements. More... | |
| GstElement * | chain_start = nullptr |
| First item pushed on the stream after setup. More... | |
| GstElement * | pipeline_last = nullptr |
| Last item pushed on the stream. More... | |
| std::recursive_mutex | state_mutex |
| std::unique_ptr< GstreamerAudioException > | pipeline_exception |
| Asynchronous exception. More... | |
Read media stream metadata via gstreamer.
| Media::GstreamerMetadataReader::GstreamerMetadataReader | ( | const std::string & | path | ) |

|
private |

