Re: [linux-minidisc] First patch for write support on HiMD available


On Mar 11, 2011, at 6:40 AM, manner.moe@gmx.de wrote:
> 
>> I added a
> 
>>> setbeword16(himd->tifdata + 0x100, himd_track_count(himd) + 1);
> 
>> as a dirty hack at the end of "himd_add_track_info" which forces an increment
>> of the track count in the track index file. QHiMDTransfer shows the proper
>> number of tracks now, what makes me wonder, however, is that the track info for
>> the added track is not set at all, e.g. the track info data is empty for that
>> track in QHiMDTransfer while himddump shows the complete and proper
>> track information.
> 
> You have to add an entry in the play order table, too (see trackslot section 
> in libhimd) at 0x102 + 2 x index.
> QHiMDTransfer uses trackslots, so we have to create one.

Ok, I had no idea about the trackslots. Thanks for letting me know! I will
try what you suggested.


Adrian