Mediabyte
Mediabyte is an open-source poly-platform playlist format and succinct online media referencing syntax.
Scope
The mediabyte format is
- an open-source online media playlist format
- an online media referencing format
- a succinct alternative to the URL format
- with optional explicit metadata (title, tags, time-codes)
- a simple Mixtape HTML player
- a Python API for hacking with the format
- friendly with Jupyter Notebook
Value Proposition
- tag the content of specific YouTube videos
- e.g. to help discoverability of favourite content
- remix YouTube videos with 1-second precision
- e.g. to create a topical mix of clips from a video series
- play a YouTube search directly
- reference, tag and access any online content
- native Bitly hash support (incl. custom hashes)
- index and remix podcast episodes
- native MP3 support
.omm Mixtape file
link to the Mixtape file above (Mixtape links can be parsed by the system, copy the link and try it yourself)
The mediabyte tag syntax
- tags are separated by dots
- title-case tags are titles
- YouTube time code tags are such
- remaining tags are ordinary tags
- y.youtubehash or b.bitlyhash is mandatory
- all other tags are optional
The yota objects: Yota, Cue, Sample, Mixtape
- a yota with no start code is a Yota object (the original YouTube video)
- a yota with a start time code is a Cue object (the YouTube video with a start time)
- a yota with start and end time codes is a Sample object (the YouTube video clip)
- a Mixtape is a collection of Yota, Cue, Sample, and bit objects
Check out the mediabyte documentation for details and examples.
The bit objects: Link and Mp3 (beta)
- a bit.Link is a bitly link:
b.bitlyhash(general link support) - a bit can have title and tags (just like the yota objects)
- a bit can be a yota tag
y.youtubehash.b.bitlyhashor stand alone - a bit.Mp3 - a bit.Link with the tag
mp3- is a bitly MP3 link (MP3 support) - a bit.Mp3 has 0-2 time codes, yota-style handling and VLC playback
- a Mixtape of bit.Mp3 (e.g. podcast clips) can be saved to local harddisk as
- individual Sample MP3 files or
- one combined Mixtape MP3 file
Project Status
The mediabyte back-end is feature-complete.
The OMM syntax is logically complete, expressive and succinct.
General interface omm() to parse any mediabyte string, Mixtape file or Mixtape link.
Syntax highlighting and .omm file association using the contained Atom package. (beta)
Search YouTube directly and get results in Mixtape with youtube('copenhagen 10').
Keyword search using YouTube auto-generated subtitles. (pro version)
Mixtape files supports arbitrary white-space. (freestyle formatting)
Bitly links. (general link support)
Custom Bitly link support, e.g. b.noagendashow-1189.
MP3 support.
Pip installation pip install mediabyte.
Windows 10 support. (beta)
mediabyte.hash referencing: o.diu5ir4jkk3 (full hash) or omm('o.diu') (uniquely match).
Write bit.MP3 Mixtape chapters to MP3s or splice chapters to single Mixtape MP3. (MP3 remixing) (alpha)
Load online .omm Mixtape files.
Search history with search('podcast'). (tag, title or mediabyte hash search)
Convert manually saved YouTube .htm file to Mixtape.
Convert YouTube Takeout watch history file to Mixtape.
Online mediabyte and Mixtape link player.
Online YouTube search to player.
Native a.amazonhash Amazon link support. (alpha)
Stream .m3u8 link support b.bitlyhash.m3u8.
Local history search regex and save filter option.
Http link support h.url.com/subpage and h.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 full o.mediabytehash. (system-wide availability)
Upload (from local instance) Yota/Cue/Sample/Mixtape to server yota.upload(). (system-wide publishing)
Yota and Mixtape download_mp3() and download_mp4(). (download YouTube video or audio)
Currently the output options are:
-
basic continuous HTML/JavaScript player, HTML Wall-of-TV, HTML links, VLC playback* and open in tabs for Mixtape
-
VLC playback, HTML Iframe and open in tab for Sample, Cue and Yota
-
VLC playback and open in tab for bit.Link
-
VLC playback for bit.Mp3
-
Mixtape MP3 or Sample MP3s for bit.Mp3 Mixtape
* currently Yota-only Mixtapes
Updated December 14th 2019
Metadata
Release files for mediabyte 0.9.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mediabyte-0.9.1.5.tar.gz | 59.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mediabyte-0.9.1.5-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 138.4 kB
Release files / mediabyte-0.9.1.5.tar.gz
| Download URL | mediabyte-0.9.1.5.tar.gz |
|---|---|
| Size | 59.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2e1b018a40e9e65d019eed3dd9a2e4840cf7f378abfbcb6f54369e9945d784d3
|
|
BLAKE2b-256 checksum How to use checksums |
2330984923c148d8fee7a8e68c15142f10efed4a17ebd90c59c9a89c60d68320
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
|
Release files / mediabyte-0.9.1.5-py2.py3-none-any.whl
| Download URL | mediabyte-0.9.1.5-py2.py3-none-any.whl |
|---|---|
| Size | 78.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
34952d0d7d4cd21818561d52733d0dd09c66dc6c51692de0454e28359d889c60
|
|
BLAKE2b-256 checksum How to use checksums |
fc7b514b8d3bbaccf4ace469aa1c95f7764f8cba5ae6f54c62765130990d9e45
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
|