My Music Videos - V0.41 (3 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

metalla_nz

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

Whatisk - Ive worked out what the issue your having is. Will fix in a few hours after this mornings class.

Joz - Ill have to look into your problem. Im guessing its the ' in your path, will find out. - Should be fixed today

Dangerzone - I too have seen this on some of my videos. I dont know why it happens. Im hoping that someone soon will help me on this plugin and work on the front-end for the plugin.

Anyone want to help me?
 

druid9

MP Donator
  • Premium Supporter
  • December 31, 2006
    255
    9
    64
    Great update to the old mVids plugin I have used nearly every day since it came out - Thanks

    Not sure if this is relevant, but the handling of special characters in the folder structure can cause a problem.

    I had my videos organised like this>

    Music Videos\'60s\Artist - Title
    Music Videos\'70s\Artist - Title
    Music Videos\'80s\Artist - Title
    Music Videos\'90s\Artist - Title
    Music Videos\'00s\Artist - Title

    Didn't seem to like the (')

    Change it to :
    Music Videos\sixties\Artist - Title
    Music Videos\seventies\Artist - Title
    Music Videos\eighties\Artist - Title
    Music Videos\nineties\Artist - Title
    Music Videos\noughties\Artist - Title

    Now works fine. Though I would point this out for reference.

    I am now going to work on some playlists. Is there a tag feature in the plugin, like in music?
     

    metalla_nz

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

    New version on google-code site. See front page.

    dangerzone

    I have seen a halt on cancel scan - very rarely. How often does it happen for you?
    As far as I can tell, the scan sometimes get's stuck in a loop while waiting for an artist to be finalised that doesnt happen. It should sit there for ever, I guess untilwindows decides it is not responding. Im trying to fix this but it isnt easy. Hopefully its rather rare.
     

    Imokles

    MP Donator
  • Premium Supporter
  • April 27, 2009
    115
    14
    Home Country
    Germany Germany
    With the new version, five new artists magically appeared in my artist list :)
    I checked all artists and the videos assigned to them, and everythink is fine now. Problem solved!

    As always - thanks a lot for this great plugin!
    :D
     

    joz

    Portal Pro
    March 17, 2008
    1,353
    306
    Home Country
    Netherlands Netherlands
    Hi ,

    :D for the new version but I'm sorry to report that there's still some stuff not being escaped properly.
    Now it's a query that fails and therefore makes mp crash.
    As a webdev myself I always escape ALL user input. I think that's a good best practice. What if someone names their files "DROP TABLE Videos " :) ?
    Code:
    2009-09-02 11:14:07.265625 [ERROR][MPMain]: SQLiteClient: MusicVids.db3 cmd:sqlite3_prepare16:pvm=null err:ERROR detailed:table Videos already exists query:CREATE TABLE Videos (id integer PRIMARY KEY AUTOINCREMENT, artistID integer, path char(300), title char(100), playCount integer, rating integer, year integer, thumb char(300))
    2009-09-02 11:14:45.562500 [ERROR][MPMain]: SQLiteClient: MusicVids.db3 cmd:sqlite3_prepare16:pvm=null err:ERROR detailed:near "s": syntax error query:UPDATE Videos SET playCount = 1 WHERE path = '\\Server\D - Media\Mijn video's\Music Video's\Balthazar - Bathroom Lovin.mp4'
    2009-09-02 11:14:45.578125 [ERROR][MPMain]: OnMessage exception:SQLite.NET.SQLiteException: SQLiteClient: MusicVids.db3 cmd:sqlite3_prepare16:pvm=null err:ERROR detailed:near "s": syntax error query:UPDATE Videos SET playCount = 1 WHERE path = '\\Server\D - Media\Mijn video's\Music Video's\Balthazar - Bathroom Lovin.mp4'
       bij SQLite.NET.SQLiteClient.ThrowError(String statement, String sqlQuery, SqliteError err)
       bij SQLite.NET.SQLiteClient.Execute(String query)
       bij MPMusicVids.Data.DataManager.play(String filename)
       bij MPMusicVids.MusicVidsMain.g_Player_PlayBackStarted(MediaType type, String filename)
       bij MediaPortal.Player.g_Player.StartedHandler.Invoke(MediaType type, String filename)
       bij MediaPortal.Player.g_Player.OnStarted()
       bij MediaPortal.Player.g_Player.Play(String strFile, MediaType type)
       bij MediaPortal.Playlists.PlayListPlayer.FakePlayer.MediaPortal.Playlists.PlayListPlayer.IPlayer.Play(String strFile)
       bij MediaPortal.Playlists.PlayListPlayer.Play(Int32 iSong)
       bij MPMusicVids.MusicVidsMain.playRandomAll()
       bij MPMusicVids.MusicVidsMain.OnClicked(Int32 controlId, GUIControl control, ActionType actionType)
       bij MediaPortal.GUI.Library.GUIWindow.OnMessage(GUIMessage message)

    So the new version did fix the scanner but not the playback part yet.
    Besides that the scanner came with an ERROR, as a artist suggestion. Not sure which files those were, will report back when I find out.
     

    metalla_nz

    Portal Pro
    June 19, 2007
    228
    67
    41
    Hamilton
    Home Country
    New Zealand New Zealand
    Then they would lose all their videos...?? I had escaped one of the vars in that function, but missed one somehow.

    Has been fixed now, cheers. http://mp-musicvids.googlecode.com/files/Music Videos.dll this will allow you to scan hopefully.

    In terms of your error... Did you catch that in the parsing test window? You can rename there before scanning to ensure a nice clean scan.

    As an aside, I have just completed some more in the GUI, still not working 100%, but now it allows you to SMS-type the first letter of the artist in to scroll to there.

    I may include a full typ function, but that will have to wait till a later day. Too late now.

    Will upload what I have tomorrow.

    In fact the dll up there has the first letter search implemented if anyone wants to grab it to try it.
     

    dangerzone

    Portal Pro
    January 12, 2009
    271
    44
    53
    delft
    Home Country
    Netherlands Netherlands
    Hi all.

    New version on google-code site. See front page.

    @dangerzone

    I have seen a halt on cancel scan - very rarely. How often does it happen for you?
    As far as I can tell, the scan sometimes get's stuck in a loop while waiting for an artist to be finalised that doesnt happen. It should sit there for ever, I guess untilwindows decides it is not responding. Im trying to fix this but it isnt easy. Hopefully its rather rare.

    I downloaded the new version and i cannot reproduce the cancel error.
    So i think it's just happens sometimes :D
     

    ravenj

    Portal Member
    October 8, 2008
    12
    0
    Hello,

    I've tested your plugin and it seems to be working but, when I play a video file, it doesn't start in fullscreen.

    How can I select to play a file and it automatically starts in fullscreen?

    Thanks
     

    Users who are viewing this thread

    Top Bottom