My Music Videos - V0.41 (2 Viewers)

How are your music video files named

  • Artist - Title

    Votes: 149 85.6%
  • Organised some other way

    Votes: 9 5.2%
  • However they came

    Votes: 16 9.2%

  • Total voters
    174

kyleh0000

MP Donator
  • Premium Supporter
  • April 28, 2009
    144
    23
    Home Country
    I tried the new plugin version but get an error.

    The plugin scans the whole database, but there is one abnormal entry in the logfile:
    17:08:59: Had trouble processing file \\CORUSCANT\Musik\Mediathek\Smash Mouth\Unbekanntes Album\I'm a Believer.mpg ERROR: System.IndexOutOfRangeException: Der Index war außerhalb des Arraybereichs.
    bei MPMusicVids.Scan.ProcessDir(Stack& theStack, String sourceDir, String mtchExp, String origPath)

    Afterwards I have to kill the MediaPortal Config with the task manager.
    Screenshot attached. Hope it helps.

    Thanks for your work on this plugin!

    hehehe i see my mod on your desktop heheheh

    im going to take a bit more of a look at this plugin over the weekend and hopefully come up with some skin files for the theater skin :)

    keep up the good work!
     

    metalla_nz

    Portal Pro
    June 19, 2007
    228
    67
    41
    Hamilton
    Home Country
    New Zealand New Zealand
    Imokles. In the parsing results where It says ERROR it is saying that that file name cannot be parsed. So something about the way the file is named does not match the parsing expression you have specified.

    Double clicking on the filename in the parsing results will allow you to change the filename. That should remedy the issue. Unless im missing something
     

    Imokles

    MP Donator
  • Premium Supporter
  • April 27, 2009
    115
    14
    Home Country
    Germany Germany
    I did a bit more testing.

    Imokles. In the parsing results where It says ERROR it is saying that that file name cannot be parsed. So something about the way the file is named does not match the parsing expression you have specified.
    I can manually enter "Smash Mouth" as the artist, and the file will be imported into the database. The song name still reads "ERROR".

    Double clicking on the filename in the parsing results will allow you to change the filename. That should remedy the issue. Unless im missing something
    When I change this, I get an unhandled exception (see screenshot). Obviously the generated SQL statement can not digest the inverted comma in "I'm".

    I then deleted the file altogether from my videos share and re-imported to check whether my other videos would be picked up. However, no video files could be found. I think the problem might be that they all have the extension ".m4v" (though I added this extension as a video extension in MP and all videos play fine in the "My Videos" section). I can confirm that the videos are picked up (although still with ERROR title) when I change the extension to MKV.
    What I am having is an itunes music library with >10k files which also contains some videos. Since the directory structure is handled by itunes I can't change the filename or extension manually without losing itunes management abilities. So, I think the best option would be if the plugin would match all extensions defined in the "My videos" section.

    I also attached a screenshot of my config screen for you to check why I get the ERROR parsing. A typical filename that would need to be matched is
    \\coruscant\Musik\Mediathek\Coldplay\Viva La Vida or Death and All His Friends\Viva la Vida.m4v
     

    Attachments

    • Smash Mouth.JPG
      Smash Mouth.JPG
      22.9 KB
    • MVids_Settings.JPG
      MVids_Settings.JPG
      75.6 KB

    metalla_nz

    Portal Pro
    June 19, 2007
    228
    67
    41
    Hamilton
    Home Country
    New Zealand New Zealand
    Ok, Ive had a play and Ive found the issue you were having imokles.

    Ive uploaded a new version to the google code site which should fix all your issues.

    Help Requested. I'm having trouble getting the GUI part working properly (i.e the MP frontend). Im looking for someone who wants to take over that part of the plugin, as my time is becoming limited through other projects, but I'd still like to work on the configuration part.

    If anyones interested in helping with that part of the plugin, let me know.
     

    whatisk

    Portal Pro
    May 21, 2007
    246
    12
    Brisbane
    Home Country
    Australia Australia
    Sorry did not inlcude skin files in this release. You will find them in the 0.0.2.1 release.

    How can I download this version to get the skin files?

    Thanks.

    Edit: Figured it out. Sorry.

    I'm also having problems parsing subfolders.

    I have my music on a WHS machine broken into subfolders for artist letter
    Eg:
    music videos
    -- a
    -- b
    etc.

    In the config I have the watch folder set as \\server\music_videos
    When I run a scan, it doesn't find any files. However, if I add a watch path of \\server\music_videos\a (for example), it then finds the files in that path.
    The log files says it's processing each subfolder, but never finds anything.
     

    metalla_nz

    Portal Pro
    June 19, 2007
    228
    67
    41
    Hamilton
    Home Country
    New Zealand New Zealand
    Hi Whatisk.

    Thats a folder arrangement I never anticipated. If I were you i'd set up your parsing expresion as:

    %album%\%artist% - %title%.%ext%

    Assuming your individual files are named Artist - Title.avi

    The album tag is unused (at the moment) so should fit any arrangement.

    The skin files are included in the latest release (0.0.2.25), this is why I have deprecated the 0.0.2.1 release.
     

    jdrom17

    Portal Member
    March 24, 2007
    21
    1
    Great work so far metalla_nz!

    Plugin works great here, other than running into some issues with file names that weren't correct, but after fixing those all was well. The StreamedMP skin could use some work, but no biggie. It's functional and that's the main thing.
     

    whatisk

    Portal Pro
    May 21, 2007
    246
    12
    Brisbane
    Home Country
    Australia Australia
    Hi Whatisk.

    Thats a folder arrangement I never anticipated. If I were you i'd set up your parsing expresion as:

    %album%\%artist% - %title%.%ext%

    Assuming your individual files are named Artist - Title.avi

    The album tag is unused (at the moment) so should fit any arrangement.

    Thanks. Using the suggested parsing expression all the files now show up when I do a test parse.
    However, when I choose to scan them into the database, I get an error box stating that MediaPoral Configuration has encountered an error and needs to close. With the usual send/don't send to M$.

    I have the ffmpeg.exe, music videos.dll and nlog.dll file in the windows subfolder of the plugins directory.
    In the configuration I have pointed to where ffmpeg is located.

    Did some more testing and noticed that when using %album%\%artist% - %title%.%ext% as the parsing expression, the artist column is empty on the parsing test.
    If I copy some files to another folder so I don't need to use the '%album%\' then everything is okay.
    By using the %album% as a 'filler' for a folder it seems to break it recognising the artist.
     

    Imokles

    MP Donator
  • Premium Supporter
  • April 27, 2009
    115
    14
    Home Country
    Germany Germany
    Ok, Ive had a play and Ive found the issue you were having imokles.

    Ive uploaded a new version to the google code site which should fix all your issues.

    I've tested this version and yes, everything works now. I can scan my videos into the database.

    A new issue I am having now is that once the videos database has been populated, a re-scan (click on "scan watch-folders into DB") crashes MediaPortal config (with the "... has encountered a problem ..."-Box). I can avoid this by doing a complete re-scan ("Clear DB and Rescan"), so this is not a showstopper for me.

    A low-priority feature request I would like to see in the future is the option to manually delete scanned files from the DB (and ignore them in future scans). In my itunes library, there is a subfolder "podcasts" that holds all my downloaded podcasts - and I don't want/need them to show up as music videos.

    :D for this great plugin!
     

    metalla_nz

    Portal Pro
    June 19, 2007
    228
    67
    41
    Hamilton
    Home Country
    New Zealand New Zealand
    Hi again Imokles.

    The issue you're referring to sounds very similar to one I fixed this afternoon. Are you using the latest download? If not using this should fix the issue, if not let me know.

    Ill look at the %album% parsing expression tomorrow, It should work, and Ill look into it and should have a new version tomorrow afternoon to fix it.
     

    Users who are viewing this thread

    Top Bottom