Took me a while to consistently re-produce the error, but I've raised an 
issue here;

https://github.com/beetbox/beets/issues/2498

Looks to be an issue when importing mp4 files with existing embedded 
artwork.  The scrub process clears the artwork, and then re-embedding 
causes beets to crash.  Running clearart first appears to resolve the 
issue.  I haven't tried, but I'm assuming turning off scrub might work as 
well.



On Tuesday, 28 March 2017 08:42:05 UTC+11, Adrian Sampson wrote:
>
> Hi! Since this is a crash, can you please open an issue on GitHub and 
> include full bug-report details? 
>
> On Mon, Mar 27, 2017 at 4:37 PM, Nick Mead <[email protected] <javascript:>> 
> wrote: 
> > I'm running beets over my entire music library and keep getting the 
> > following error; 
> > 
> > 
> > Traceback (most recent call last): 
> >   File "/usr/bin/beet", line 11, in <module> 
> >     load_entry_point('beets==1.4.3', 'console_scripts', 'beet')() 
> >   File "/usr/lib/python2.7/site-packages/beets/ui/__init__.py", line 
> 1209, 
> > in main 
> >     _raw_main(args) 
> >   File "/usr/lib/python2.7/site-packages/beets/ui/__init__.py", line 
> 1196, 
> > in _raw_main 
> >     subcommand.func(lib, suboptions, subargs) 
> >   File "/usr/lib/python2.7/site-packages/beets/ui/commands.py", line 
> 930, in 
> > import_func 
> >     import_files(lib, paths, query) 
> >   File "/usr/lib/python2.7/site-packages/beets/ui/commands.py", line 
> 907, in 
> > import_files 
> >     session.run() 
> >   File "/usr/lib/python2.7/site-packages/beets/importer.py", line 319, 
> in 
> > run 
> >     pl.run_parallel(QUEUE_SIZE) 
> >   File "/usr/lib/python2.7/site-packages/beets/util/pipeline.py", line 
> 445, 
> > in run_parallel 
> >     six.reraise(exc_info[0], exc_info[1], exc_info[2]) 
> >   File "/usr/lib/python2.7/site-packages/beets/util/pipeline.py", line 
> 358, 
> > in run 
> >     self.coro.send(msg) 
> >   File "/usr/lib/python2.7/site-packages/beets/util/pipeline.py", line 
> 171, 
> > in coro 
> >     task = func(*(args + (task,))) 
> >   File "/usr/lib/python2.7/site-packages/beets/importer.py", line 1415, 
> in 
> > manipulate_files 
> >     session=session, 
> >   File "/usr/lib/python2.7/site-packages/beets/importer.py", line 686, 
> in 
> > manipulate_files 
> >     plugins.send('import_task_files', session=session, task=self) 
> >   File "/usr/lib/python2.7/site-packages/beets/plugins.py", line 452, in 
> > send 
> >     result = handler(**arguments) 
> >   File "/usr/lib/python2.7/site-packages/beets/plugins.py", line 124, in 
> > wrapper 
> >     return func(*args, **kwargs) 
> >   File "/usr/lib/python2.7/site-packages/beetsplug/scrub.py", line 150, 
> in 
> > import_task_files 
> >     self._scrub_item(item) 
> >   File "/usr/lib/python2.7/site-packages/beetsplug/scrub.py", line 140, 
> in 
> > _scrub_item 
> >     mf.images = images 
> >   File "/usr/lib/python2.7/site-packages/beets/mediafile.py", line 1240, 
> in 
> > __set__ 
> >     style.set_list(mediafile.mgfile, values) 
> >   File "/usr/lib/python2.7/site-packages/beets/mediafile.py", line 594, 
> in 
> > set_list 
> >     self.store(mutagen_file, [self.serialize(value) for value in 
> values]) 
> >   File "/usr/lib/python2.7/site-packages/beets/mediafile.py", line 728, 
> in 
> > serialize 
> >     raise ValueError(u'MP4 files only supports PNG and JPEG images') 
> > ValueError: MP4 files only supports PNG and JPEG images 
> > 
> > 
> > The error seems to crop up semi-regularly.  To the best of my knowledge, 
> I 
> > don't even have any MP4 files in my music library, plus, I've turned off 
> > album art embedding.  So I'm struggling to understand what the error is 
> > about. 
> > 
> > 
> > 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups 
> > "beets" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an 
> > email to [email protected] <javascript:>. 
> > For more options, visit https://groups.google.com/d/optout. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"beets" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to