diff options
author | Robert Helgesson <robert@rycee.net> | 2014-11-07 12:18:56 +0100 |
---|---|---|
committer | Robert Helgesson <robert@rycee.net> | 2014-11-07 21:26:53 +0100 |
commit | 442b097b0da5a4ce50872a07f99a5ceadba97b87 (patch) | |
tree | 6ce4051112c9c7dad3b8f59dcd0306cf1e04949e /pkgs/development/python-modules/pycdio | |
parent | f811f1fc65ba904b48767779f64575ee0a6d243b (diff) | |
download | nixlib-442b097b0da5a4ce50872a07f99a5ceadba97b87.tar nixlib-442b097b0da5a4ce50872a07f99a5ceadba97b87.tar.gz nixlib-442b097b0da5a4ce50872a07f99a5ceadba97b87.tar.bz2 nixlib-442b097b0da5a4ce50872a07f99a5ceadba97b87.tar.lz nixlib-442b097b0da5a4ce50872a07f99a5ceadba97b87.tar.xz nixlib-442b097b0da5a4ce50872a07f99a5ceadba97b87.tar.zst nixlib-442b097b0da5a4ce50872a07f99a5ceadba97b87.zip |
Add 'pycdio', a Python wrapper for libcdio.
Diffstat (limited to 'pkgs/development/python-modules/pycdio')
-rw-r--r-- | pkgs/development/python-modules/pycdio/add-cdtext-toc.patch | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pycdio/add-cdtext-toc.patch b/pkgs/development/python-modules/pycdio/add-cdtext-toc.patch new file mode 100644 index 000000000000..4e36612d80d0 --- /dev/null +++ b/pkgs/development/python-modules/pycdio/add-cdtext-toc.patch @@ -0,0 +1,52 @@ +diff -Nurp pycdio-0.20-orig/test/cdtext.toc pycdio-0.20/test/cdtext.toc +--- pycdio-0.20-orig/test/cdtext.toc 1970-01-01 01:00:00.000000000 +0100 ++++ pycdio-0.20/test/cdtext.toc 2014-11-06 23:36:12.520708320 +0100 +@@ -0,0 +1,48 @@ ++CD_DA ++ ++// global CD-TEXT data ++ ++CD_TEXT { ++ ++ // Mapping from language number (0..7) used in 'LANGUAGE' statements ++ // to language code. ++/// LANGUAGE_MAP { ++/// 0 : EN // 9 is the code for ENGLISH, ++/// // I don't know any other language code, yet ++/// } ++ ++ // Language number should always start with 0 ++ LANGUAGE 0 { ++ // Required fields - at least all CD-TEXT CDs I've seen so far have them. ++ TITLE "CD Title" ++ PERFORMER "Performer" ++ DISC_ID "XY12345" ++ UPC_EAN "" // usually empty ++ ++ // Further possible items, all of them are optional ++ ARRANGER "" ++ SONGWRITER "" ++ MESSAGE "" ++ GENRE "" // I'm not sure if this should be really ascii data ++ } ++} ++ ++ ++TRACK AUDIO ++// track specific CD-TEXT data ++CD_TEXT { ++ LANGUAGE 0 { ++ // if an item is defined for one track it should be defined for all tracks ++ TITLE "Track Title" ++ ++ PERFORMER "Performer" ++ ISRC "US-XX1-98-01234" ++ ++ ARRANGER "" ++ SONGWRITER "" ++ MESSAGE "" ++ } ++} ++ ++SILENCE 1:0:0 ++ |