[mythtv] Fwd: patch to increase mythmusic scanning output verbosity?

Steven Adeff adeffs.mythtv at gmail.com
Sun Nov 23 02:45:11 UTC 2008

> On Sat, Nov 22, 2008 at 7:54 PM, Steven Adeff <adeffs.mythtv at gmail.com> wrote:
>> Hi guys, no response from the users list, hoping someone here can help me?
>> thanks,
>> -steve
>> ---------- Forwarded message ----------
>> From: Steven Adeff <adeffs.mythtv at gmail.com>
>> Date: Wed, Nov 12, 2008 at 11:26 PM
>> Subject: patch to increase mythmusic scanning output verbosity?
>> I'm having some problems with MythMusic scanning my music but can't
>> figure out why or which tracks are affected. Anyone have a patch to
>> increase the verbosity of MythMusic's scanning?
>> thanks!
>> --
>> Steve

On Sat, Nov 22, 2008 at 8:16 PM, David Backeberg <dbackeberg at gmail.com> wrote:
> I don't subscribe to the users list, and this isn't really a dev question...
> You may have noticed that the
> mythbackend
> command comes with a -v flag, which means verbose, and which can be
> made quite verbose. No recompile required.

-v all shows nothing when mythmusic is scanning. randomly it may show
which file its scanning, but not usually.

oh yea, and its mythfrontend that does the scanning, not mythbackend.

> You may have noticed that sound files are just like any other file.
> They have permissions, folders, directories, etc. If the scanner can't
> get to them for any reason, like the mythtv daemon user doesn't have
> read permissions on the mp3s owned by a different user, it can't scan
> them.

all music files and all folders have the same permissions. If it
couldn't read a file shouldn't it just move on instead of just sitting
there in an endless loop trying to read it?

> You may have also noticed that the mp3 m3u tags get parsed by the scanner.

I have no m3u files. I also have audio files other than mp3.

> You may have also noticed that mythtv works with a backend MySQL database.

sadly what I've noticed is that either it doesn't scan in order, or it
randomly decides to skip certain files, which doesn't help me figure
out which file it may be held up on. I actually tried to do this, and
moved the file I thought it was working on out of the folder, sadly it
still had the hiccup, I did this a few times before deciding this was
not the way to go about trying to solve this.

> You may have also noticed that mythtv comes with all of its source code.

you may have noticed not everyone knows how to code, at all or as well
as you apparently do.

> I'm not sure what kind of response you were expecting from the users
> list, and there's a good chance this is the only answer you're going
> to get from this list.

something a little more helpful than yours obviously.

> You can double-check your permissions.

done and done.

> If you want to know what's in the m3u tags of your mp3s, you can use
> an mp3 player, mplayer, etc. to look at those.

I believe you mean id3 tags. and yea, I have. mplayer, amarok, winamp,
etc all have no problems with any of the files.

> If you want to know what's in your database, you can connect to your
> database with many methods documented in books and websites about
> mysql. Perhaps you'll like phpmyadmin. You might also want to read up
> about how to enable heavy debugging on the database, to watch the
> database read/writes.

already answered this...

> If you want more verbose output, you can review the source code,
> adding comments where you want them, recompile, etc.

Yea, I'm gunna spend 20hours trying to figure that out. Or I can see
if anyone has done something similar already, or perhaps knows enough
about the source code that they could write something up in under
10minutes. I'd even be willing to buy a beer for said person if it was
that much trouble out of their way.

> When you figure it out, go back and update your thread on myth-users, okay?

yea, all over it.

It's harder to read.
why not?
Don't top post.
Oh yea.

who was having a pleasant evening...

More information about the mythtv-dev mailing list