Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type doesn't exist: Menu #31

Closed
b2un0 opened this issue Sep 16, 2015 · 3 comments · Fixed by #32
Closed

Type doesn't exist: Menu #31

b2un0 opened this issue Sep 16, 2015 · 3 comments · Fixed by #32
Assignees
Labels

Comments

@b2un0
Copy link

b2un0 commented Sep 16, 2015

can you please add a new Type for "Menu" (chappters in mkv)


object(Mhor\MediaInfo\Exception\UnknownTrackTypeException)[83]
  private 'trackType' => string 'Menu' (length=4)
  protected 'message' => string 'Type doesn't exist: Menu' (length=24)
  private 'string' (Exception) => string '' (length=0)
  protected 'code' => int 0
  protected 'file' => string '/var/www/medialibrary/vendor/mhor/php-mediainfo/src/Factory/TypeFactory.php' (length=75)
  protected 'line' => int 46
  private 'trace' (Exception) => 
    array (size=9)
      0 => 
        array (size=6)
          'file' => string '/var/www/medialibrary/vendor/mhor/php-mediainfo/src/Builder/MediaInfoContainerBuilder.php' (length=89)
          'line' => int 52
          'function' => string 'create' (length=6)
          'class' => string 'Mhor\MediaInfo\Factory\TypeFactory' (length=34)
          'type' => string '->' (length=2)
          'args' => 
            array (size=1)
              0 => string 'Menu' (length=4)
      1 => 
        array (size=6)
          'file' => string '/var/www/medialibrary/vendor/mhor/php-mediainfo/src/Parser/MediaInfoOutputParser.php' (length=84)
          'line' => int 43
          'function' => string 'addTrackType' (length=12)
          'class' => string 'Mhor\MediaInfo\Builder\MediaInfoContainerBuilder' (length=48)
          'type' => string '->' (length=2)
          'args' => 
            array (size=2)
              0 => string 'Menu' (length=4)
              1 => 
                array (size=27)
                  '@attributes' => 
                    array (size=1)
                      'type' => string 'Menu' (length=4)
                  'Count' => string '97' (length=2)
                  'Count_of_stream_of_this_kind' => string '1' (length=1)
                  'Kind_of_stream' => 
                    array (size=2)
                      0 => string 'Menu' (length=4)
                      1 => string 'Menu' (length=4)
                  'Stream_identifier' => string '0' (length=1)
                  'Chapters_Pos_Begin' => string '77' (length=2)
                  'Chapters_Pos_End' => string '97' (length=2)
                  '_00_00_00000' => string ':00:00:00.000' (length=13)
                  '_00_04_13587' => string ':00:04:13.587' (length=13)
                  '_00_08_38309' => string ':00:08:38.309' (length=13)
                  '_00_16_11929' => string ':00:16:11.929' (length=13)
                  '_00_21_43135' => string ':00:21:43.135' (length=13)
                  '_00_33_22459' => string ':00:33:22.459' (length=13)
                  '_00_41_48798' => string ':00:41:48.798' (length=13)
                  '_00_47_58000' => string ':00:47:58.000' (length=13)
                  '_00_53_40592' => string ':00:53:40.592' (length=13)
                  '_01_04_46674' => string ':01:04:46.674' (length=13)
                  '_01_12_59709' => string ':01:12:59.709' (length=13)
                  '_01_20_47885' => string ':01:20:47.885' (length=13)
                  '_01_26_18965' => string ':01:26:18.965' (length=13)
                  '_01_31_53383' => string ':01:31:53.383' (length=13)
                  '_01_42_23637' => string ':01:42:23.637' (length=13)
                  '_01_50_52271' => string ':01:50:52.271' (length=13)
                  '_01_52_13936' => string ':01:52:13.936' (length=13)
                  '_01_58_10875' => string ':01:58:10.875' (length=13)
                  '_01_59_51601' => string ':01:59:51.601' (length=13)
                  '_02_01_56434' => string ':02:01:56.434' (length=13)
@mhor mhor added the bug label Sep 16, 2015
@mhor mhor self-assigned this Sep 16, 2015
@mhor
Copy link
Owner

mhor commented Sep 16, 2015

Thanks for your feedback, I will try to solve this shortly.

A work-arround exist to solve this error (add in #18).

$mediaInfo = new MediaInfo();
$mediaInfoContainer = $mediaInfo->getInfo('music.mp3', true);
$mediaInfoContainer->getOthers();

mhor added a commit that referenced this issue Sep 16, 2015
@mhor mhor mentioned this issue Sep 16, 2015
mhor added a commit that referenced this issue Sep 16, 2015
@mhor mhor closed this as completed in #32 Sep 16, 2015
@mhor
Copy link
Owner

mhor commented Sep 16, 2015

@b2un0 Looks good to you?
Tagged as 1.5.0

@b2un0
Copy link
Author

b2un0 commented Sep 17, 2015

looks good, thank you 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants