PDA

View Full Version : RE: V6.0 nightly won't play files



Craig, James (IT)
2005-02-23, 11:48
I feared that.
It looked to me like SlimServer doesn't try and open the file because
the unset size is interpreted as 0.
Why not 'trust' the imported data and try and open the file anyway?

James

-----Original Message-----
From: developers-bounces (AT) lists (DOT) slimdevices.com
[mailto:developers-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of kdf
Sent: 23 February 2005 18:40
To: Slim Devices Developers
Subject: Re: [Developers] V6.0 nightly won't play files

Quoting Vidur Apparao <vidur (AT) slimdevices (DOT) com>:

>
> I believe this is specifically related to importer-based (iTunes,
> Moodlogic, MusicMagic) scanning and not Music Directory scanning. When
> importing via iTunes et al, we no longer read tag information from the
> file. I believe this is incorrect - the importers don't necessarily
have
> all the information we need.
>
> Try the attached patch after clearing your Cache.

readTags will totally break the whole point of using importers, btw.

kdf
2005-02-23, 11:51
Quoting "Craig, James (IT)" <James.Craig (AT) morganstanley (DOT) com>:

> I feared that.
> It looked to me like SlimServer doesn't try and open the file because
> the unset size is interpreted as 0.
> Why not 'trust' the imported data and try and open the file anyway?

iTunes doesn't actually provide duration data. this used to cause a forced
readTags, but doesn't now. However, the patch was adding it to all importers,
which is unnecessary, and simply serves to double the scan time even if a user
wants to NOT use the audiodir setting.
-kdf

kdf
2005-02-23, 11:59
Quoting kdf <slim-mail (AT) deane-freeman (DOT) com>:

> Quoting "Craig, James (IT)" <James.Craig (AT) morganstanley (DOT) com>:
>
> > I feared that.
> > It looked to me like SlimServer doesn't try and open the file because
> > the unset size is interpreted as 0.
> > Why not 'trust' the imported data and try and open the file anyway?
>
> iTunes doesn't actually provide duration data. this used to cause a forced

seems to be filesize that is missing, and both this AND duration should be
getting provided by iTunes. readTags is only covering up the problems. iTunes
should be providing all we need, and I have turn only itunes before. However,
the change is already been done, so be it.

-kdf

vidurapparao
2005-02-23, 12:03
kdf wrote:

>Quoting kdf <slim-mail (AT) deane-freeman (DOT) com>:
>
>
>
>>Quoting "Craig, James (IT)" <James.Craig (AT) morganstanley (DOT) com>:
>>
>>
>>
>>>I feared that.
>>>It looked to me like SlimServer doesn't try and open the file because
>>>the unset size is interpreted as 0.
>>>Why not 'trust' the imported data and try and open the file anyway?
>>>
>>>
>>iTunes doesn't actually provide duration data. this used to cause a forced
>>
>>
>
>seems to be filesize that is missing, and both this AND duration should be
>getting provided by iTunes. readTags is only covering up the problems. iTunes
>should be providing all we need, and I have turn only itunes before. However,
>the change is already been done, so be it.
>
>

Now don't be pouty, Kevin. ;-) As I said, if we believe we're getting
all we need from the importers, the readTags parameter can be removed.

--Vidur