mpTinoMediaServer beta (1 Viewer)

rsbrux

Documentation Group
  • Team MediaPortal
  • April 15, 2007
    1,142
    118
    Home Country
    Switzerland Switzerland
    I know it crashes when you have playlists with paths to non existing files, and your virus scanner may crash it.
    See if disabling your virus scanner on your music folders helps, else find the bad playlist.

    i deleted all of my playlists already, and i'm not really thrilled about disabling my anti-virus.
    i don't recal having any problems with AV in MP 2.3, but i was using AVG FREE 7.5 at the time and am now on v8.
    maybe the configuration has changed.
    :D
     

    Kaoh

    Portal Pro
    September 11, 2006
    244
    28
    Home Country
    Netherlands Netherlands
    Well your logs mention the out of memory exception, dotnet throws that if the file is in use or otherwise unable to be read. It reads them to parse the ID3 header info. My antivirus locks the files often that causes that crash, but even if I have no other suspects any program that can lock the files for reading may be the cause.
    You can try to disable it just for your music folder to see if that solves the crash if not you can reenable it and we think more what can be causing it.
     

    rsbrux

    Documentation Group
  • Team MediaPortal
  • April 15, 2007
    1,142
    118
    Home Country
    Switzerland Switzerland
    After excluding my audio dirctories from AVG's scans I found 2 Internet radio PLS files which had apparently been created automatically since my last cleanup.
    My client now finds my HTPC twice, but at least I can now find and play music. Unfortunately, MP now takes longer than ever (> 1 hr.) to start.
    If you can't spare the time to hook into MP's own DB, how about making the library build a manually invoked part of the plugin configuration, instead of rebuilding it every time MP starts?
     

    Kaoh

    Portal Pro
    September 11, 2006
    244
    28
    Home Country
    Netherlands Netherlands
    also a good idea, but unfortunatly takes time also.
    Ok, the major part of the loading time is parsing the ID3 information.
    How about I make that optional, and add a new option: Replace _ with " " in file name.
    The ID3 parsing is mainly to present pretty music file names in your client (01 - Track name - album - artist) etc
    If you are like me and maintin your collection you probably allready use a filename convention.
    I use for example CDNR_TRACKNR_-_TRACKTILE_-_ALBUMTITLE_-_ARTISTNAME.mp3
    By adding a string replace option like replace _ with " " in track names I would end up with a song called 1 01 - Title - album - artist

    Works for me, I was thinking about adding that anyway to improve my load times, and THAT takes no time at all to code ;)

    Would that work for you also, lets say if your load reduces like 90%?
     

    rsbrux

    Documentation Group
  • Team MediaPortal
  • April 15, 2007
    1,142
    118
    Home Country
    Switzerland Switzerland
    Hi Kaoh,
    To be useful in my case it would have to parse the entire path, not just the file names. My file names are of the form "nn_title", where nn is the track number. For large or multidisk compilations it can be "nnn_title". The tracks are generally then grouped in directories of the form "artist\album" under a few main categories, such as:
    Composer (artist in the path is the composer)
    Performer (artist in the path is the performer)
    Producer (artist in the path is the producer)
    Title (compilations from various artists, with no artist in path)

    As always, I appreciate you readiness to help, but don't want you to be doing extra work on my account.
    I am still puzzled by the state of UPNP support in "native" Media Portal. My understanding was that the TV Server architecture intrinsically supports UPNP, but I don't see any evidence of that.
     

    Kaoh

    Portal Pro
    September 11, 2006
    244
    28
    Home Country
    Netherlands Netherlands
    It will be in MP 2.0 But in the current version there is no UPnP support at all. Thats why this plug in was created.
    Ill take on the replacing of the _ option first and see what I can do about the DB or some other way to improve load time.
    In your case navigating the folders allready gives you the info you need I guess so ending up with file like01 trak is allready good enough.
    Well at leat it gives the option to imrove loading time.
     

    rsbrux

    Documentation Group
  • Team MediaPortal
  • April 15, 2007
    1,142
    118
    Home Country
    Switzerland Switzerland
    It will be in MP 2.0 But in the current version there is no UPnP support at all. Thats why this plug in was created.
    Ill take on the replacing of the _ option first and see what I can do about the DB or some other way to improve load time.
    In your case navigating the folders allready gives you the info you need I guess so ending up with file like01 trak is allready good enough.
    Well at leat it gives the option to imrove loading time.

    Sounds good!
    :D, Kaoh.
     

    Kaoh

    Portal Pro
    September 11, 2006
    244
    28
    Home Country
    Netherlands Netherlands
    Ok, here it is, the new version.
    It has a new option on the general settings screen that you can uncheck (checked by default!) so make sure to uncheck ;)
    It no longer parses the mp3 files for their ID3 info and only replaces _ with spaces in the file name and uses that.

    So it should reduce loading time, on one rig it went from 25 down to 10 minutes and on another from 5 to 1 minute.

    Can someone that hates the long loading time see how much it does for them?
     

    rsbrux

    Documentation Group
  • Team MediaPortal
  • April 15, 2007
    1,142
    118
    Home Country
    Switzerland Switzerland
    Unfortunately, I am getting errors again from both THE UPnP plugin and the external display.
    The errors from external display don't occur when the UPnP plugin is disabled.
     

    Kaoh

    Portal Pro
    September 11, 2006
    244
    28
    Home Country
    Netherlands Netherlands
    I dont know anything about the external display plugin, so I do not even what it does nor can think how the UpnP server can influence it.
    The crash of UPnP server itself seems to be related to a bad playlist again, is this with the new option on or off?
     

    Users who are viewing this thread

    Top Bottom