Cannot Delete a TV Program | Page 2

Discussion in 'Newcomers Forum' started by David Abineri, October 14, 2014.

  1. David Abineri

    David Abineri Portal Pro

    Joined:
    July 19, 2011
    Messages:
    152
    Likes Received:
    3
    Ratings:
    +5 / 1
    Home Country:
    United States of America United States of America
    Sorry to trouble you again but my single seat MP with a Colossus that refuses to record. I am attaching an error file (I shortened it from a 5MB file since it seems to repeat the same message) that mentions a long file name but I do not provide these names. Also attached is a log from the system.

    I hope this tells something about the issue. Many thanks, Dave


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Vasilich
    • Team MediaPortal

    Vasilich Test Group

    Joined:
    August 30, 2009
    Messages:
    3,392
    Likes Received:
    608
    Gender:
    Male
    Occupation:
    Developer
    Location:
    Germany, Mayence
    Ratings:
    +1,173 / 2
    Home Country:
    Russian Federation Russian Federation
    Show System Specs
    i guess some of those

    D:\TimeShift\15 WBRADT\The This Old House Hour\The This Old House Hour - 2014-07-05 - SEP00767410 - E1209 - This Old House_ A New Project in Arlington, MA; Ask This Old House_ Demonstrating Uses for a Router; Replacing an Air Conditioning Unit.ts

    D:\TimeShift\15 WBRADT\The This Old House Hour\The This Old House Hour - 2013-10-18 - SEP00767410 - E1203 - Getting to Work; Ask This Old House -- Replacing a Kitchen Faucet With a Hands-Free Model; Installing
    a Channel Drain to Divert Rainwater.ts

    D:\TimeShift\15 WBRADT\The This Old House Hour\The This Old House Hour - 2014-08-09 - SEP00767410 - E1216 - This Old House Italianate Inspiration; Ask This Old House_ Installing a Clawfoot Tub With Shower; Installing a Permanent Fire Escape Ladder.ts


    Look in TvServer_tvservice.log - there you see what filenames are too long:

    Code (Text):
    1. [2014-10-26 19:01:42,305] [Log    ] [TVService] [DEBUG] -  - deleting 'C:\ProgramData\Team MediaPortal\MediaPortal TV Server\thumbs\The This Old House Hour - 2013-11-02 - SEP00767410 - E1205 - Lines in the Sand; Ask This Old House -- Installing a Shade Sail Over a Deck in Santa Fe; Installing a Hybrid Water Heater to Save Energy.jpg'
    2. [2014-10-26 19:01:42,305] [Log    ] [TVService] [ERROR] - RecordingFileHandler: Error while deleting a recording from disk: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
    3.  
     
    • Thank You! Thank You! x 1
  4. David Abineri

    David Abineri Portal Pro

    Joined:
    July 19, 2011
    Messages:
    152
    Likes Received:
    3
    Ratings:
    +5 / 1
    Home Country:
    United States of America United States of America
    Great, now how do I get past this issue and prevent it from happening again?

    Should I just delete this files or does the data base need to be used?

    Many thanks, Dave
     
  5. Vasilich
    • Team MediaPortal

    Vasilich Test Group

    Joined:
    August 30, 2009
    Messages:
    3,392
    Likes Received:
    608
    Gender:
    Male
    Occupation:
    Developer
    Location:
    Germany, Mayence
    Ratings:
    +1,173 / 2
    Home Country:
    Russian Federation Russian Federation
    Show System Specs
    i would suggest to think about other naming schema for your files :)
    btw the errors are coming mostly from attempts to delete thumbnails for the recordings.

    And AFAIK it is enough to delete thumbnails manually.
     
  6. David Abineri

    David Abineri Portal Pro

    Joined:
    July 19, 2011
    Messages:
    152
    Likes Received:
    3
    Ratings:
    +5 / 1
    Home Country:
    United States of America United States of America
    As I said, I DO NOT name these files, the system does.

    Is it OK to delete them directly from the HD or does the data base need to be involved so as not to cause further problems?

    Please spell it out if you would.

    Many thanks, Dave[DOUBLEPOST=1414432345][/DOUBLEPOST]Why would the system suddenly start using very long file names? Might it have anything to do with the changes taking place at Schedules Direct, my program listing supplier?

    How do I safely correct this situation?

    Thanks, Dave
     
    Last edited: October 27, 2014
  7. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,527
    Likes Received:
    4,738
    Ratings:
    +8,205 / 17
    Home Country:
    New Zealand New Zealand
    Well actually "the system" sets the names of the files based on the recording name pattern/format that YOU choose here:
    http://wiki.team-mediaportal.com/1_...ation/07_Recording#Custom_paths_and_filenames

    So in a roundabout way you DO name the files.

    Use TV Server configuration to modify the recording name pattern/format mentioned above.
    Since the %name% (episode name) part seems to be the longest part, try to select a format that doesn't include that part.
    That may require you to specify a custom format.

    As far as I'm concerned "the system" is not to blame, and this could have happened any time. All it takes for this problem to occur is for your EPG data for a program that is scheduled to record to have an unusually long title, season number, episode number or episode name. "The system" doesn't control these things.

    Maybe yes... if they're getting longer episode name data; maybe not... if "The This Old House Hour" just happens to have long episode names sometimes.

    As above: don't include the episode name in the recording file name pattern/format.
     
  8. dabineri

    dabineri Portal Pro

    Joined:
    February 16, 2013
    Messages:
    58
    Likes Received:
    0
    Gender:
    Male
    Ratings:
    +0 / 0
    Home Country:
    United States of America United States of America
    mm, I only blame the system because I have made no changes that affect file names and I have been recording This Old House for a couple of years weekly without incident.

    So changing the file name preference is all I need do?

    The existing long names will not cause any problems for me?

    Also, out of curiosity is it going to cause problems if I delete programs already recorded in terms perhaps of creating an inconsistency with the database if something suddenly disappears?

    Thanks again.

    Dave
     
  9. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,527
    Likes Received:
    4,738
    Ratings:
    +8,205 / 17
    Home Country:
    New Zealand New Zealand
    Well, you may not have had problems but I'm aware of other people that have with that exact same show:
    https://forum.team-mediaportal.com/threads/a-very-strange-repeatable-occurance.102107/

    Like I said: I don't blame the system.

    Yes.

    In relation to recordings...???
    It doesn't matter if there are long episode names in the EPG data. You won't have problems as long as you don't attempt to use them in recording file names, which is why I suggested to fix the file name pattern/format.

    If you're referring to something else then please be more specific.

    No, not if you delete the recordings from within MediaPortal, because both the database entry and the recording file are deleted.
    Yes, if you delete recording files on the file system then MP/TV Server won't notice that. In other words: recordings that you've deleted would still be listed in the "recorded TV" section, and MP would understandably fail to play one of them if you happened to try to do that. If you do that by mistake then you can use the "clean up" function to delete database entries for recordings that no longer exist in the file system (ie. you deleted the TS file).

    Regards,
    mm
     
  10. dabineri

    dabineri Portal Pro

    Joined:
    February 16, 2013
    Messages:
    58
    Likes Received:
    0
    Gender:
    Male
    Ratings:
    +0 / 0
    Home Country:
    United States of America United States of America
    Thank you for your answers.

    I went to the TV server file name specification and it is set at TITLE - CHANNEL - DATE. As I look at the long names in question it seems to be the EPISODE name that is causing this issue as I have older programs recorded as "This Old House -15 WRADT - 2013 03 11" which I presume is the title,channel and date.

    So sometime about last March it started using long file names (episode description) for only this program. This was well before any issues of changes at Schedules Direct.

    Is there any explanation for how this could have happened for just one program title and not all the others I was recording?

    On deleting or changing file names using win explorer will this still enable the data base to find these programs when I want to replay them?

    Thanks yet again, Dave
     
  11. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,527
    Likes Received:
    4,738
    Ratings:
    +8,205 / 17
    Home Country:
    New Zealand New Zealand
    You're looking at the "movie" format when the problem is with the "series" format.

    You're really asking the wrong person.

    For a start, you can see from the link I posted that people have experienced the problem with this program since as far back as 2011.

    I'm sure changes happen behind the scenes at SchedulesDirect and their upstream provider (Gracenote, formerly Tribune Media Services) all the time. There are surely other people and organisations further up the chain that input/control the EPG data too. I do not know if or when something was changed, what was changed or who was responsible. All I know is that MP/TV Server is the last link in the chain. We do not change the EPG data format or content.

    No. You will have to reimport the recordings if you change the names or move the files.
    http://wiki.team-mediaportal.com/1_...er_Configuration/07_Recording#Database_import
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!