Hi,
I'm trying to build an interface between iTunes e MediaMonkeys. When I imported my tracks from iTunes to MM, the field LastPlayed wasn't considered.
So I decided to build an interface that reads the value from iTunes and updates the MM database.
I'm using the package from phxsoftware in order to access the SQLite database used by MM.
The database field is a REAL data type, which is mapped as DbType.Single. When I do the update, I'm converting a DateTime object (provided by IITTrack) to Single, using Convert.ToSingle(DateTime).
But I'm receiving an error, telling that Invalid cast from 'DateTime' to 'Single'.
Any hints about this?
TIA,
Bob