MythTV
master
|
Functions | |
def | _encode (string) |
def | _decode (byte_string) |
def | _sectors_to_seconds (sectors) |
Variables | |
int | SECTORS_PER_SECOND = 75 |
|
private |
Encode (unicode) string to byte string
Definition at line 25 of file util.py.
Referenced by discid.disc.Disc.read().
|
private |
Decode byte string to (unicode) string
Definition at line 36 of file util.py.
Referenced by discid.disc.Disc._get_error_msg(), discid.libdiscid._get_features(), discid.disc.Disc._get_freedb_id(), discid.disc.Disc._get_id(), discid.disc.Disc._get_mcn(), discid.disc.Disc._get_submission_url(), discid.disc.Disc._get_toc_string(), discid.track.Track._get_track_isrc(), discid.libdiscid._get_version_string(), and discid.libdiscid.get_default_device().
|
private |
Round sectors to seconds like done on MusicBrainz Server The result is forced to :obj:int to make formatted output easier.
Definition at line 46 of file util.py.
Referenced by discid.track.Track.seconds(), and discid.disc.Disc.seconds().