Skip to main content

A simple and succinct syntax for handling online media.

Project description

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

OMM syntax highlight example

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

  1. tags are separated by dots
  2. title-case tags are titles
  3. YouTube time code tags are such
  4. remaining tags are ordinary tags
  5. y.youtubehash or b.bitlyhash is mandatory
  6. all other tags are optional

The yota objects: Yota, Cue, Sample, Mixtape

  1. a yota with no start code is a Yota object (the original YouTube video)
  2. a yota with a start time code is a Cue object (the YouTube video with a start time)
  3. a yota with start and end time codes is a Sample object (the YouTube video clip)
  4. 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)

  1. a bit.Link is a bitly link: b.bitlyhash (general link support)
  2. a bit can have title and tags (just like the yota objects)
  3. a bit can be a yota tag y.youtubehash.b.bitlyhash or stand alone
  4. a bit.Mp3 - a bit.Link with the tag mp3 - is a bitly MP3 link (MP3 support)
  5. a bit.Mp3 has 0-2 time codes, yota-style handling and VLC playback

Project Status

The mediabyte back-end is feature-complete.

The mediabyte syntax is feature-complete.

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').

Search auto-generated subtitles with Yota.srt_search and Mixtape.srt_search. (linux only) (beta)

Mixtape files supports arbitrary white-space. (freestyle formatting)

Bitly links. (general link support)

Custom Bitly link support, e.g. b.sn-704.Security Now. (a title tag is needed, to be fixed)

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.


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 Sep 7th 2019

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mediabyte-0.8.7.1.tar.gz (52.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mediabyte-0.8.7.1-py2.py3-none-any.whl (64.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file mediabyte-0.8.7.1.tar.gz.

File metadata

  • Download URL: mediabyte-0.8.7.1.tar.gz
  • Upload date:
  • Size: 52.0 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for mediabyte-0.8.7.1.tar.gz
Algorithm Hash digest
SHA256 1819ea94da7b8ad6b9dd615e1e71ba26c771967a81d2017695cfe4a239114263
MD5 225658623997cd8955e31ea569263452
BLAKE2b-256 b811a35e89e5faba6a2a4783e128a2c4e9fb450cb09b86122346d28ee7f25b82

See more details on using hashes here.

File details

Details for the file mediabyte-0.8.7.1-py2.py3-none-any.whl.

File metadata

  • Download URL: mediabyte-0.8.7.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 64.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using 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

File hashes

Hashes for mediabyte-0.8.7.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d62bc8b4c88cdc713853e34098237e899573b0c35be860956923c0ce1d8574a3
MD5 7a6f4f8c996335046366f603a09e0d4b
BLAKE2b-256 4df5c6fd98ea5736076871939f6b2d2d5e47e387c050b9f43d17d54b8e41a492

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page