INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Could someone fix the website please  (Read 4766 times)

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
Could someone fix the website please
« on: December 04, 2002, 05:40:29 am »

After two days no-one has responded to this in the 3rd party section.   So I'm posting it here hoping someone can action this:


> Hi,
>  
> In the downloads for Interface plugins it says:
>  
> Download for v.8 & v.9 - Zoom
>  
>  
> I got an email from a potential Album View customer
> complaining that it didn't work as advertised (i.e. it
>  works with v9).
>  
>  
> Please fix this.
>  
>  
> Also when will the SDK be available ... it seems that
>  MJ has been in "beta" for some time now and I'm
>  surprised it's not there after all this time.   I have
>  people queing up waiting to try it out.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41956
  • Shoes gone again!
Re: Could someone fix the website please
« Reply #1 on: December 04, 2002, 06:04:41 am »

I thought you got Album View working in version 9?

Isn't it, and if not, what's the problem?
Logged
Matt Ashland, JRiver Media Center

nila

  • Guest
Re: Could someone fix the website please
« Reply #2 on: December 04, 2002, 06:29:39 am »

Hey Rhino,
If you do get it goin in v9 can you drop me an e-mail and lemme know. I'll b-test it again for you :)
Logged

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
Re: Could someone fix the website please
« Reply #3 on: December 04, 2002, 07:20:31 am »

Quote
I thought you got Album View working in version 9?

Isn't it, and if not, what's the problem?


Hi Matt,

Per my email to you dated 21/11:

> Thanks Matt ... that did the trick!
>
> It's very strange one indeed but now AV2 is up and
> running but when I try
> to call the m_pMJFile->GetImageFile function it craps
> out.   I take it
> that this function no longer exists?

> If so is there any documentation to be had on what to
>  do to get an image for a track?
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41956
  • Shoes gone again!
Re: Could someone fix the website please
« Reply #4 on: December 04, 2002, 12:42:40 pm »

We couldn't tell what's going on for sure.  The crash happens inside of AV.

Our best guess is that AV is linking to an outdated .tlb file. (though it _shouldn't_ matter)

I'll make sure the latest one is in the next build of MJ 9.

Let us know if it makes a difference...
Logged
Matt Ashland, JRiver Media Center

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
Re: Could someone fix the website please
« Reply #5 on: December 05, 2002, 12:06:29 am »

Well I have just tried b85 and the same thing happens.

When calling pTrack->m_pMJFile->GetImageFile( IMAGEFILE_IN_FILE ) I get an abort:

KERNEL32! 77eab2f0()
MEDIA JUKEBOX! 005c0da9()
MEDIA JUKEBOX! 005d1d92()
MEDIA JUKEBOX! 005f54a3()
_com_invoke_helper(IDispatch * 0x01029000, long 23, unsigned short 1, unsigned short 8, void * 0x03d3fa9c, const unsigned short * 0x022c02f4 `string', char * 0x03d3fa48, IErrorInfo * * 0x03d3fa40) + 655 bytes
_com_dispatch_method(IDispatch * 0x01029000, long 23, unsigned short 1, unsigned short 8, void * 0x00000000, const unsigned short * 0x022c02f4 `string') + 35 bytes
IMJFileAutomation::GetImageFile(MJImageFileFlags IMAGEFILE_IN_FILE) line 167 + 28 bytes
Artwork::FindAlbumArtworkEx(CAlbumEntry & {...}) line 719 + 24 bytes
Artwork::FindAlbumArtwork() line 647 + 9 bytes
Database::Create(const CString & {"C:\AlbumView.av2"}) line 1629 + 5 bytes
Database::CreateOrLoad(void * 0x00000000) line 1189 + 10 bytes
_threadstart(void * 0x034bce28) line 173 + 13 bytes
KERNEL32! 77e8b2d8()


The reason you can't see is that the version that's publically available doesn't have the:

        m_bWindowOnly = TRUE;


In the COM object constructor.


Also I have noticed that pMJFile->GetAlbumArtist() has been removed.   This makes it a bit difficult to have a single EXE for both v8 and v9.   I though the whole idea of a COM object was that the interface doesn't change ... if you're not supporting this in MC 9 can't you just return a blank string or something?

Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41956
  • Shoes gone again!
Re: Could someone fix the website please
« Reply #6 on: December 05, 2002, 05:04:06 am »

pMJFile->GetAlbumArtist()

It must have been added to version 8 after we forked 8 and 9.

We need to reconsile the interfaces between version 8 and version 9.

More later...
Logged
Matt Ashland, JRiver Media Center

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
Re: Could someone fix the website please
« Reply #7 on: December 05, 2002, 10:30:58 pm »

Just tried it with b86 ... exactly the same error :(

KERNEL32! 77eab2f0()
MEDIA JUKEBOX! 005c33b1()
MEDIA JUKEBOX! 005d46a2()
MEDIA JUKEBOX! 005f7db3()
_com_invoke_helper(IDispatch * 0x0103b818, long 23, unsigned short 1, unsigned short 8, void * 0x03c5fa9c, const unsigned short * 0x01fb02f4 `string', char * 0x03c5fa48, IErrorInfo * * 0x03c5fa40) + 655 bytes
_com_dispatch_method(IDispatch * 0x0103b818, long 23, unsigned short 1, unsigned short 8, void * 0x00000000, const unsigned short * 0x01fb02f4 `string') + 35 bytes
IMJFileAutomation::GetImageFile(MJImageFileFlags IMAGEFILE_IN_FILE) line 167 + 28 bytes
Artwork::FindAlbumArtworkEx(CAlbumEntry & {...}) line 719 + 24 bytes
Artwork::FindAlbumArtwork() line 647 + 9 bytes
Database::Create(const CString & {"C:\AlbumView.av2"}) line 1629 + 5 bytes
Database::CreateOrLoad(void * 0x00000000) line 1189 + 10 bytes
_threadstart(void * 0x02027080) line 173 + 13 bytes
KERNEL32! 77e8b2d8()


Also GetAlbumArtist isn't in the .tlb file even though it's dated 5th December 2002.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41956
  • Shoes gone again!
Re: Could someone fix the website please
« Reply #8 on: December 06, 2002, 09:05:20 am »

I haven't reconciled the interfaces yet.  It will be done either in the next build or the one following.

Sorry this is hairy, but MC 9 is still a moving target.

Thanks Rhino.
Logged
Matt Ashland, JRiver Media Center

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41956
  • Shoes gone again!
Re: Could someone fix the website please
« Reply #9 on: December 06, 2002, 01:18:28 pm »

Try MC 9.0.87 (just uploaded)

I tried to get the interfaces reconciled and included a new TLB.  

If nothing else, we're getting closer...
Logged
Matt Ashland, JRiver Media Center

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
Re: Could someone fix the website please
« Reply #10 on: December 06, 2002, 10:05:17 pm »

Hi Matt,

Exactly the same problem:


KERNEL32! 77e73887()
MSVCRTD! _CxxThrowException@8 + 57 bytes
_com_raise_error(long -2147352573, IErrorInfo * 0x00000000) + 35 bytes
_com_dispatch_method(IDispatch * 0x02259f30, long 23, unsigned short 1, unsigned short 8, void * 0x00000000, const unsigned short * 0x017c02f4 `string') + 53 bytes
IMJFileAutomation::GetImageFile(MJImageFileFlags IMAGEFILE_IN_DATABASE) line 167 + 28 bytes
Artwork::FindAlbumArtworkEx(CAlbumEntry & {...}) line 713 + 24 bytes
Artwork::FindAlbumArtwork() line 647 + 9 bytes
Database::Create(const CString & {"C:\db.av2"}) line 1629 + 5 bytes
Database::CreateOrLoad(void * 0x00000000) line 1189 + 10 bytes
_threadstart(void * 0x018362a8) line 173 + 13 bytes
KERNEL32! 77e7d33b()


But at least GetAlbumArtists() didn't get a compile error.


Also this issue is nothing to do with AV as it took me 2 seconds to reproduce it with the BusyBox VB sample.



UPDATE - Seems also GetTrackNumber doesn't work in the BusyBox sample also.


Here's how I modified the z loop in the btnPlayRandomTracks_Click function:


   ' go through and add 10 files
   For z = 1 To 10
       
       ' pick a random file
       Dim nFileIndex As Integer
       nFileIndex = Rnd() * MJFiles.GetNumberFiles()
       
       ' make sure the index is in bounds
       If (nFileIndex >= 0 And nFileIndex < MJFiles.GetNumberFiles) Then
           
           ' get the file
           Dim MJFile As MediaJukebox.MJFileAutomation
           Set MJFile = MJFiles.GetFile(nFileIndex)
           
           MsgBox "Checking " & MJFile.FileName()
' CRASH:    szValue = MJFile.GetImageFile(IMAGEFILE_IN_FILE)
' CRASH:    lValue = MJFile.GetTracknumber()
           szValue = MJFile.GetFormattedFileSize()
           MsgBox "after " & lValue & ":" & szValue
           
           ' add it to playing now
           MJCurPlaylist.AddFile MJFile.FileName, z - 1
       
       End If
   Next z




Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41956
  • Shoes gone again!
Re: Could someone fix the website please
« Reply #11 on: December 09, 2002, 06:51:35 am »

Thanks for the details.  It'll be better next build. (I think)
Logged
Matt Ashland, JRiver Media Center

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
Re: Could someone fix the website please
« Reply #12 on: December 10, 2002, 12:16:15 am »

It's getting better ... no crashes but pTrack->m_pMJFile->GetTracknumber() is returning 0 for every track.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41956
  • Shoes gone again!
Re: Could someone fix the website please
« Reply #13 on: December 10, 2002, 04:39:22 am »

I can't reproduce that.

Adding this code to BusyBox at the same place as your sample works as expected:

MsgBox MJFile.TrackNumber

Any more clues?
Logged
Matt Ashland, JRiver Media Center

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
Re: Could someone fix the website please
« Reply #14 on: December 10, 2002, 04:46:24 am »

I will look later tonight but in every call to get the track number (e.g. showing the balloon tips or the album's track listing) it always returns zero.
Logged

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
Re: Could someone fix the website please
« Reply #15 on: December 10, 2002, 08:26:31 am »

Matt,

I have just installed b88 here at home and it says my trial has expired!

I was happily using v8 ... then I installed MC v9 b87 which worked just fine and now this.

Is it a problem with this version?

Am I going to have to waste one of my restores even though it was all working perfectly before??
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 71438
  • Where did I put my teeth?
Re: Could someone fix the website please
« Reply #16 on: December 10, 2002, 08:29:05 am »

Rhino,
Burn a restore if you need to.  Let me know if you run out.

Jim
Logged

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
Re: Could someone fix the website please
« Reply #17 on: December 10, 2002, 09:32:55 am »

Thanks Jim ... I used one up and MC 9 is a happy camper again.

I think I've got around 7 left so I should be ok for a little while ;)
Logged

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20048
Re: Could someone fix the website please
« Reply #18 on: December 10, 2002, 09:33:58 am »

RhinoBanga

I don't See this

MJFile.GetTracknumber()

I do see this

MJFile.Tracknumber (And this works in MC 9)
Logged
Retired Military, Airborne, Air Assault, And Flight Wings.
Model Trains, Internet, Ham Radio
https://MyAAGrapevines.com
Fayetteville, NC, USA

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
Re: Could someone fix the website please
« Reply #19 on: December 10, 2002, 10:20:09 am »

Matt,

I modified the OnClickedSleep function in the SleepTimer app to read as so:


LRESULT CSleepTimerCtrl::OnClickedSleep(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled)
{
     IMJFilesAutomationPtr      pMJFiles = m_pMJ->Search( (LPCTSTR)"" );
     IMJFileAutomationPtr    pMJFile;

     if( pMJFiles != NULL )
     {
           long lTrackNumber;
           long lTotal                        =      0;
           long lEOL                        =      pMJFiles->GetNumberFiles();

           for( long lLoop1 = 0; lLoop1 < lEOL; lLoop1++ )
           {
                 pMJFile = pMJFiles->GetFile( lLoop1 );
                 lTrackNumber = pMJFile->GetTracknumber();

                 if( lTrackNumber > 0 )
                 {
                       AtlTrace( "Track %06d = %03d", lLoop1, lTrackNumber );
                       ++lTotal;
                 }

           }
           AtlTrace( "Found %ld out of %ld", lTotal, lEOL );
     }

     ToggleSleep();
     return 0;
}



When I run it I get:


[384] Track 000113 = 001
[384] Track 000114 = 002
[384] Track 000124 = 001
[384] Track 000125 = 002
[384] Track 000126 = 003
[384] Track 000127 = 004
[384] Track 000128 = 005
[384] Track 000129 = 006
[384] Track 000130 = 007
[384] Track 000131 = 008
[384] Track 000132 = 009
[384] Track 000367 = 005
[384] Track 000968 = 001
[384] Track 001097 = 006
[384] Track 001454 = 001
[384] Track 001995 = 001
[384] Track 002360 = 001
[384] Track 002361 = 002
[384] Track 002362 = 003
[384] Track 002363 = 004
[384] Track 002364 = 005
[384] Track 002365 = 006
[384] Track 002366 = 007
[384] Track 002367 = 008
[384] Track 002368 = 009
[384] Track 002369 = 010
[384] Track 002370 = 011
[384] Track 002483 = 006
[384] Track 002578 = 032
[384] Track 002579 = 032
[384] Track 002580 = 032
[384] Track 002691 = 001
[384] Track 002692 = 002
[384] Track 002693 = 003
[384] Track 002694 = 004
[384] Track 002695 = 005
[384] Track 002696 = 006
[384] Track 002697 = 007
[384] Track 002698 = 008
[384] Track 002699 = 009
[384] Track 002700 = 010
[384] Track 002701 = 011
[384] Track 002702 = 012
[384] Track 002781 = 001
[384] Track 002782 = 006
[384] Track 002783 = 255
[384] Track 002784 = 012
[384] Track 004033 = 012
[384] Track 005430 = 001
[384] Found 49 out of 5530



Which is surprising since all of my tracks have track numbers.

I have confirmed with Helium2 that the track numbers are still intact within the MP3 files.

As a final test I wiped my library and regenerated it ... the problem still remains.


Also when I view my tracks with MJ it shows the track# as being blank .. but only for some of them ... 49.

The only thing I can see that links them all together is that the 49 tracks do not have an ID3v2 total tracks tag (the one where you can specify the total tracks within an album).

I think that's where you should be looking.


If you still can't find it let me know and I'll email you a couple of mp3's that should hilight the issue.

Logged

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
Re: Could someone fix the website please
« Reply #20 on: December 10, 2002, 10:23:21 am »

Quote
RhinoBanga

I don't See this

MJFile.GetTracknumber()

I do see this

MJFile.Tracknumber (And this works in MC 9)



King ... we're talking C/C++ here ... not VB.

Also I think I have identified the issue.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41956
  • Shoes gone again!
Re: Could someone fix the website please
« Reply #21 on: December 12, 2002, 01:36:25 pm »

It'd be great if you could send me one of the files.

It may take like a week (busy making Unicode transition), but we'll get to it.

-Matt
Logged
Matt Ashland, JRiver Media Center

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
Re: Could someone fix the website please
« Reply #22 on: December 12, 2002, 08:55:24 pm »

Sent.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41956
  • Shoes gone again!
Re: Could someone fix the website please
« Reply #23 on: December 13, 2002, 11:41:21 am »

It didn't come through.

Could you try again at matt @ jriver.com (no spaces)

Thanks!
Logged
Matt Ashland, JRiver Media Center

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
Re: Could someone fix the website please
« Reply #24 on: December 14, 2002, 06:17:54 am »

Matt,

I've sent them again.

If you don't get them this time I will put them on some webspace and email you the URL.

The email size is 10mb so maybe some SMTP server is refusing to take it.
Logged

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
Re: Could someone fix the website please
« Reply #25 on: December 16, 2002, 10:18:35 pm »

Matt,

Have you received the email I sent?
Logged
Pages: [1]   Go Up