![]() Note: Statements are returned not printed. edit_meta ( "Album", "playmedia" ) # Changed Album to playmedia instance. meta ( "Artist" ) # Returns Artist: Unknown Brain instance. set_volume ( 75 ) # Returns Volume set to 75% instance. mute ( False ) # Returns Unmuted instance. pause ( True ) # Returns Paused instance. start () # Returns Now playing Why do I? instance. Supported tags = Actors, Album, AlbumArtist, Artist, ArtworkURL, Copyright, Date, Description, Director, DiscNumber, DiscTotal, EncodedBy, Episode, Genre, Language, NowPlaying, Publisher, Rating, Season, Setting, ShowName, Title, TrackID, TrackNumber, TrackTotal, URL instance = File ( "path/of/the/media/file/Why do I?.mp3" ) instance. This method returns the meta data of the media This method set the volume of the playbackĪrgs =, defaults =, return = string File ( "path/to/the/media/file" )Īrgs =, return = string You can initiate the File class with the path of the media file as argument. Installation pip install playmedia Dependencies ![]() A python module to play and control media files.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |