32 Commits

Author SHA1 Message Date
Jean-Francois Dockes
a4b3aff5c4 rclaudio: if mutagen.File() fails, try with mutagen.ID3()
This allows extracting the tags e.g. from adts files
mistaken for mp3 during initial identification, and for which
the full later mp3 init fails because wrong kind of frame.
2021-03-03 12:53:59 +01:00
Jean-Francois Dockes
31f6793495 rclaudio: catch exception when parsing bad date, set date to the epoch 2021-02-25 19:27:24 +01:00
Jean-Francois Dockes
50b64caf5e rclaudio: process the Group tag 2021-01-27 09:32:55 +01:00
Jean-Francois Dockes
2998486d54 revert wrong change in rclaudio 2021-01-19 19:27:48 +01:00
Jean-Francois Dockes
baf2ee8d6b dont make date a field alias for dmtime, does not make sense because of diff. formats in general 2021-01-16 19:19:29 +01:00
Jean-Francois Dockes
72a9548c88 fix warning from rclaudio regexp 2021-01-06 12:01:42 +01:00
Jean-Francois Dockes
cd0941cb11 rclaudio: allow use of external tag fixer script 2019-04-13 14:23:55 +02:00
Jean-Francois Dockes
4fe6cecd19 rclaudio: better process id3 TXX and TXXX 2019-03-28 06:17:43 +01:00
Jean-Francois Dockes
5ede21b61b rclaudio: avoid generating errors for files which just probably have no tags 2019-03-21 15:28:39 +01:00
Jean-Francois Dockes
1f8afa4e2d trimmed python handler error verbosity 2019-02-18 10:32:54 +01:00
Jean-Francois Dockes
8a97edc722 Fixed the "missing" values to mention python3 2019-02-15 09:48:41 +01:00
Jean-Francois Dockes
f978ec46e6 rclaudio needs to output text/plain, because setfield only works with text/plain for now 2018-11-11 11:30:10 +01:00
Jean-Francois Dockes
fe7d5febf4 rclaudio: emit embdimg 2018-11-11 10:00:25 +01:00
Jean-Francois Dockes
61ee8acbc2 Simplified a number of handlers by deriving them from RclBaseHandler 2018-11-09 15:41:14 +01:00
Jean-Francois Dockes
f0bedb2201 rclaudio: more fixes: complicated because the different file type handlers (e.g. flac, mp3) return data in different types. 2018-06-21 12:30:43 +02:00
Jean-Francois Dockes
a012b831fa rclaudio: more py3 string/bytes types issues 2018-06-21 10:55:01 +02:00
Jean-Francois Dockes
52d3bfa54f Change the shebang line from python2 to python3 for all scripts 2018-06-01 14:55:10 +02:00
Jean-Francois Dockes
93ac830079 All format handlers compatible with python3 except chm 2018-03-09 15:25:11 +01:00
Jean-Francois Dockes
7346105dcb rclaudio: properly process unicode tags 2017-12-03 19:01:50 +01:00
Jean-Francois Dockes
bbb30d3351 rclaudio: properly parse mp4 trkn = (x,y) 2017-12-03 17:57:37 +01:00
Jean-Francois Dockes
d6a1f2a7f4 rclaudio: process additional tags 2017-04-25 10:16:48 +02:00
Jean-Francois Dockes
06e8424048 Changed input handler shebang lines to use explicit python2 instead of python. Cant switch to python3 because of msodump anyway 2017-04-09 04:09:02 +02:00
Jean-Francois Dockes
d35c2a557a Process a few non-standard tag names found in the wild + check for embedded images 2017-02-27 17:15:15 +01:00
Jean-Francois Dockes
d891488687 Get rid of using the "Easy" wrapper and process the original tags instead 2017-02-19 12:38:18 +01:00
Jean-Francois Dockes
28bf7ff93c rclaudio: let mutagen create the right object type. Extract more fields. Use the setfield() method instead of html meta tags. Needs the recent increase in max field count in mh_execm 2017-02-02 18:05:35 +01:00
Jean-Francois Dockes
f344e8fedd first pass at converting the filters for python 2/3 compat 2015-11-06 16:49:03 +01:00
Jean-Francois Dockes
766a34a8db fix flac mime types in rclaudio + small changes for experimenting with embedding an interpreter in recollindex 2015-08-23 09:29:26 +02:00
Jean-Francois Dockes
da09d0fc38 rclaudio: fix typo in error case 2011-01-27 16:42:27 +01:00
Jean-Francois Dockes
9e994c4f62 python filters: create common main program inside rclexecm.py to help with testing 2010-11-16 15:51:31 +01:00
Jean-Francois Dockes
9246d4e1bd filter for gnu info files 2010-10-30 17:26:00 +02:00
Jean-Francois Dockes
2ab51e449c switch to using older interface to EasyId3 to support mutagen versions older than 1.17 2010-09-27 08:18:09 +02:00
Jean-Francois Dockes
b043a2b9b2 use new mutagen-based python filter for all audio files 2010-09-12 19:31:38 +02:00