Skip to content
Commit 4874bac9 authored by Jonathan Matthew's avatar Jonathan Matthew 🐌
Browse files

mtp: ignore devices that don't support any audio formats (bug #615743)

libmtp also detects PTP cameras. It does not actually know them (in the
udev rules), but since we do not check for this, PTP cameras regularly
appear in Rhythmbox, which is confusing and useless.

Check the supported file types of the device for audio types, and ignore
the device if there aren't any suitable ones. Please note that a lot of
cameras support read-only WAV, which is fairly uninteresting for our
purposes and would lead to detecting them as music players, so ignore WAV.
parent b6fa4439
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment