New feature: Import your former TVE3 recordings! (2 Viewers)

rtv

Retired Team Member
  • Premium Supporter
  • April 7, 2005
    3,622
    301
    Osnabruck
    Home Country
    Germany Germany
    On recordings section in SetupTV the xml setting is loaded true by default and the checkbox is invisible.
    Do you have fixed it because you need the xml for the import utility ?
    Yes - the other reason is that we're checking for options which are "useless" (read: might confuse people but are only useful for < 1% of them).

    I meanwhile changed a channel name
    If during import a channel cannot be found via it's display name it will be added with "unknown" channel. There's no disadvantage depite the missing channel logo then.

    I have noticed that this doesn't work in VISTA64sp1, which is a shame .
    I won't consider it a shame since 64Bit platforms are currently not mature enough (drivers and codecs) to be considered a suitable HTPC platform.
    Nevertheless it most likely just does not work because the importer hasn't been marked as 32 bit app explicitly. Once the same methods are used in SetupTv they will work of course.
     

    Midget

    Portal Pro
    October 1, 2007
    78
    2
    Siena
    Home Country
    Italy Italy
    On recordings section in SetupTV the xml setting is loaded true by default and the checkbox is invisible.
    Do you have fixed it because you need the xml for the import utility ?
    Yes - the other reason is that we're checking for options which are "useless" (read: might confuse people but are only useful for < 1% of them).
    Ehm... I've disabled xml creation because considered it useless :)

    I've fixed DiskManagement class (it is in SourceForge tracker and followed by Maschine), do you think I've to upgrade it to actually delete even the xml file with the video file ? At the moment the delete procedure only delete the video file (i.e. the path saved in the DB)

    Bye
     

    rtv

    Retired Team Member
  • Premium Supporter
  • April 7, 2005
    3,622
    301
    Osnabruck
    Home Country
    Germany Germany
    I've fixed DiskManagement class (it is in SourceForge tracker and followed by Maschine), do you think I've to upgrade it to actually delete even the xml file with the video file ? At the moment the delete procedure only delete the video file (i.e. the path saved in the DB)
    Bye
    Yes - judged honestly you'd have to admit that the deletion is broken then. Hint: There is general delete method which should be used _everywhere_ and takes care of orphaned directories as well (deleting the parent folder if no more recordings exist in it).
     

    Midget

    Portal Pro
    October 1, 2007
    78
    2
    Siena
    Home Country
    Italy Italy
    Yes - judged honestly you'd have to admit that the deletion is broken then. Hint: There is general delete method which should be used _everywhere_ and takes care of orphaned directories as well (deleting the parent folder if no more recordings exist in it).

    I didn't know about that method. :oops:
    Luckily Maschine has updated the code to actually use the new class RecordingFileHandler moved out from TVController.

    Bye ;)
     

    rtv

    Retired Team Member
  • Premium Supporter
  • April 7, 2005
    3,622
    301
    Osnabruck
    Home Country
    Germany Germany
    I've integrated this tool into SetupTv.

    In addition I've added a button to remove all database entries which don't have physical files anymore and therefore won't work in MP (possible reasons: the recording path has changed / the file has been deleted outside of MyTV - e.g. Windows Explorer). You'll have to confirm each single delete currently.

    Leftover issues:
    - the checkboxes for subitems aren't nice
    - what to do with files from unknown channels
    - maybe lookup the duration from the files (would be slow and unreliable yet more exact)
    - section based caching of settings might lead to issues with the recording paths.
    - disabled alphabetic sorting of items since there could be problems on systems with foreign chars.

    Thanks to all people who helped to rule out the issues :D
     

    SciDoctor

    Retired Team Member
  • Premium Supporter
  • February 2, 2005
    1,465
    139
    England
    Just managed to try the tool in VISTA32 and SVN18313. SETUPTV

    Not working correctly, NO duration found and date and times are wrong.

    Previous seperate release v2 worked fine though in w2ksp4 and XPsp2. (this version doesn't work at all in VISTA32 ,I have given firewall rights and admin privalages)



    Which logs do you need ?
     

    rtv

    Retired Team Member
  • Premium Supporter
  • April 7, 2005
    3,622
    301
    Osnabruck
    Home Country
    Germany Germany
    Just managed to try the tool in VISTA32 and SVN18313. SETUPTV

    Not working correctly, NO duration found and date and times are wrong.

    Previous seperate release v2 worked fine though in w2ksp4 and XPsp2. (this version doesn't work at all in VISTA32 ,I have given firewall rights and admin privalages)



    Which logs do you need ?

    I don't log anything yet. If an error occurs a messagebox will popup. Did you move / change the files AFTER trying the standalone tool the last time? Could you please verify that it still does work?

    The code just fetches the NTFS timestamps and is not 99% but 100% the same as in the standalone app :confused:
     

    SciDoctor

    Retired Team Member
  • Premium Supporter
  • February 2, 2005
    1,465
    139
    England
    SVN 18080 with v2 standalone on vista32sp1 when run as admin opens cleanly.

    Have to add '\' to get lookup to be active. 'd:\my films ' (only a small size 100gb)

    When lookup is pressed the v2 app hangs with 100% cpu usage . MS-SQL used.

    With w2ksp4 and xpsp2 the response when lookup is pressed is instant and there are no further problems. w2ksp4 has a 1TB array to search and is fine.
     

    rtv

    Retired Team Member
  • Premium Supporter
  • April 7, 2005
    3,622
    301
    Osnabruck
    Home Country
    Germany Germany
    When lookup is pressed the v2 app hangs with 100% cpu usage . MS-SQL used.
    Yep, the lookup is fine. Some machines however trigger a .NET bug. The error occurs while sorting the TreeNode items (which is not done in SetupTV anymore).
     

    vuego

    Documentation Group
  • Team MediaPortal
  • August 5, 2006
    1,644
    764
    Göteborg
    Home Country
    Sweden Sweden
    I tried the import in SVN 18359 and it works very well.

    I don't record to the default location so the only problem I ran into was the Recording Folder drop down box still pointing to C:\Program Files\Team MediaPortal\MediaPortal TV Server even after I changed Recording Folders in the Recording Folders tab. I had to reopen SetupTV for it to update.
    If possible I'd like it to update on every "tab open" :D
     

    Users who are viewing this thread

    Top Bottom