Package: mediabyte
MediabyteMediabyte is an open-source poly-platform playlist format and succinct online media referencing syntax.ScopeThe mediabyte format isan open-source online media playlist formatan online media referencing formata succinct alternative to the URL formatwith optional explicit metadata (title, tags, time-codes)a simple Mixtape HTML playera Python API for hacking with the formatfriendly with Jupyter NotebookValue Propositiontag the content of specific YouTube videose.g. to help discoverability of favourite contentremix YouTube videos with 1-second precisione.g. to create a topical mix of clips from a video seriesplay a YouTube search directlyreference, tag and access any online contentnative Bitly hash support (incl. custom hashes)index and remix podcast episodesnative MP3 support.omm Mixtape filelink tothe Mixtape file above (Mixtape links can be parsed by the system, copy the link andtry ityourself)The mediabyte tag syntaxtags are separated by dotstitle-case tags are titlesYouTube time code tags are suchremaining tags are ordinary tagsy.youtubehashorb.bitlyhashis mandatoryall other tags are optionalThe yota objects: Yota, Cue, Sample, Mixtapea yota with no start code is aYotaobject (the original YouTube video)a yota with a start time code is aCueobject (the YouTube video with a start time)a yota with start and end time codes is aSampleobject (the YouTube video clip)aMixtapeis a collection ofYota,Cue,Sample, andbitobjectsCheck out the mediabytedocumentationfor details and examples.The bit objects: Link and Mp3 (beta)abit.Linkis a bitly link:b.bitlyhash(general link support)abitcan have title and tags (just like the yota objects)abitcan be a yota tagy.youtubehash.b.bitlyhashor stand aloneabit.Mp3- abit.Linkwith the tagmp3- is a bitly MP3 link (MP3 support)abit.Mp3has 0-2 time codes, yota-style handling and VLC playbackaMixtapeofbit.Mp3(e.g. podcast clips) can be saved to local harddisk asindividualSampleMP3 files orone combinedMixtapeMP3 fileProject StatusThe mediabyte back-end is feature-complete.The OMM syntax is logically complete, expressive and succinct.General interfaceomm()to parse any mediabyte string, Mixtape file or Mixtape link.Syntax highlighting and.ommfile association using the contained Atompackage. (beta)Search YouTube directly and get results inMixtapewithyoutube('copenhagen 10').Keyword search using YouTube auto-generated subtitles. (pro version)Mixtapefilessupportsarbitrary white-space. (freestyle formatting)Bitly links. (general link support)Custom Bitly link support, e.g.b.noagendashow-1189.MP3 support.Pip installationpip install mediabyte.Windows 10 support. (beta)mediabyte.hashreferencing:o.diu5ir4jkk3(full hash) oromm('o.diu')(uniquely match).Writebit.MP3Mixtapechapters to MP3s or splice chapters to singleMixtapeMP3. (MP3 remixing) (alpha)Loadonline .ommMixtapefiles.Search history withsearch('podcast'). (tag, title or mediabyte hash search)Convert manually saved YouTube .htm file toMixtape.Convert YouTube Takeout watch history file toMixtape.Online mediabyte and Mixtape linkplayer.Online YouTube search toplayer.Nativea.amazonhashAmazon link support. (alpha)Stream .m3u8 link supportb.bitlyhash.m3u8.Local history search regex and save filter option.Http link supporth.url.com/subpageandh.url.com/subpage.Some Site.some.tags.ommString object with.omm()parsing,.vlc()playback and xdg-open.open().Reference (in local instance) mediabyte from (skillporn.tv) server by fullo.mediabytehash. (system-wide availability)Upload (from local instance) Yota/Cue/Sample/Mixtape to serveryota.upload(). (system-wide publishing)YotaandMixtapedownload_mp3()anddownload_mp4(). (download YouTube video or audio)Currently the output options are:basic continuous HTML/JavaScriptplayer, HTMLWall-of-TV, HTMLlinks, VLC playback* and open in tabs forMixtapeVLC playback, HTML Iframe and open in tab forSample,CueandYotaVLC playback and open in tab forbit.LinkVLC playback forbit.Mp3MixtapeMP3 orSampleMP3s forbit.Mp3Mixtape* currently Yota-only MixtapesUpdated December 14th 2019