Improved IMDB usage (1 Viewer)

LastMar

Portal Pro
November 17, 2004
74
0
I think it would be better to be able to do IMDB searches on a particular movie file you have, based on the filename... You could then attribute the information you get from IMDB to the file.

Do MPEG files have tags like MP3's do?
 

LastMar

Portal Pro
November 17, 2004
74
0
Okay, well as an alternative, the information could be stored in a text file... You'd need to write code that takes in the imdb information, formats it in an easy-to-use way that can be read later, and saves it as a .txt file with the same filename as the movie file. The other side of this would have to read in the information and display it in MP.

Once in use, it would be something like this:

Select a movie, MP looks for a .txt with the same filename.

If it exists, it displays it (but still leaves the option for an IMDB lookup)

If it doesn't exist, it creates a blank file with the right name and "displays" that, and at the same time automatically searches imdb in the background

The imdb searching is done by the name of the file, so correct naming is important

Shouldn't be too hard to code, if you know how to get the info from imdb... Which I don't
 

MrMario64

Retired Team Member
  • Premium Supporter
  • April 22, 2004
    822
    1
    51
    Home Country
    Netherlands Netherlands
    and whats the advantage of putting this in a text file over what we do now and putting it in a database?
     

    LastMar

    Portal Pro
    November 17, 2004
    74
    0
    MrMario64 said:
    and whats the advantage of putting this in a text file over what we do now and putting it in a database?

    I didn't realize the data was actually saved; however, a text file might be better (but I'm no expert) because of three things I can think of:

    It seems like the program wouldn't have to step through as much data to find the correct information.
    Also, the formatting could be done in the text file, leaving only the task of displaying the text for the program to handle.
    It would also make it easier for people to manually edit the text if they wanted to.

    Anyway, my main point is that you should be able to tell it to search for a selected file on imdb, rather than having to type it in yourself...

    For example,

    -Read in the filename
    -Cut off the extension
    -Change non-alphanumeric spaces to characters (to avoid searching problems)
    -Search by title
    -If there isn't an exact match, show a list of partial matches
    -If there is an exact match, show the exact matches (there could potentially be more than one), and then below that either show the partial matches, or hide partial matches unless full list is requested
    -When a match is chosen, apply it to the file (either by text file or database)

    So it could work out. Maybe not.
     

    gabbe

    Portal Pro
    August 8, 2004
    58
    1
    Sweden
    I like the idea with a file for every movie. Look at GAM, it use separates files, and is much faster than MP. Saves both the info file and the picture.

    In the info-file You should find:
    1/ filename (s) for movie (> 1 file -> easy stacking)
    2/ picture name
    3/ disk number (if movie file don't exists -> offline movie)
    4/ normal imdb info

    advantages:
    1/ Can have info for movies that don't exists in imdb (I have many of them)
    2/ Info is easy editable for normal users
    3/ Easy to change picture
    4/ No need to remake everything in "every" MP-update
    5/ Can copy info/picture together with movie on DVD/CD
    6/ Easy to have "off-line" movies. Just delete movie and left picture and info.

    disadvantage:
    ? , can't see any

    Don't say that everything is editable in MP's database now. It maybe is but I have tried with sqlite. And that was NOT easy. It was more like impossible. I did manage to change the picturename but after next update all was gone :-(
    regards gabbe
     

    Users who are viewing this thread


    Write your reply...

    Similar threads

    Attached are new TV service logs with your latest DLL. I see lots of EPG events and none of the messages from earlier. Congratulations!
    Attached are new TV service logs with your latest DLL. I see lots of EPG events and none of the messages from earlier. Congratulations!
    I have some weird behavior trying to operate the MP GUI in a new installation of MP 1.36 under Windows 11 Pro. Some of the remote...
    Replies
    33
    Views
    2K
    I agree about the dash instead of colon on the LIVE thing. I did a little change to get the current program, just removed the D from the tags. Not that important, so I dont upload any new file. A little sad about the end time, but nothing to do about it.
    I agree about the dash instead of colon on the LIVE thing. I did a little change to get the current program, just removed the D...
    I'm trying to develop a new WebEPG grabber for sweden, but I got a few problem in parsing the html-file to get all programs. In...
    Replies
    9
    Views
    1K
    I have an Antec Fusion Remote case with LCD display. Sorry I don't know the driver version, I have to check. But I installed the latest one for Windows 8.1.
    I have an Antec Fusion Remote case with LCD display. Sorry I don't know the driver version, I have to check. But I installed the...
    Good evening, HELP! I have an old installation because I have a family member who relies on the MiniDisplay plug in. It is...
    Replies
    6
    Views
    560
    It is present, but not with that name. It is called Scheduler, viz: Interesting. I had never noticed that when the "command" is "ACTION", the "cmdproperty" is the actual window id, but it makes sense that it is. Try this for yourself. First backup your working profile for the remote, then in the "Mapping" panel make a change to...
    It is present, but not with that name. It is called Scheduler, viz: Interesting. I had never noticed that when the "command" is...
    I would like to be able to go directly to the Scheduled recordings window without having to first go to the home menu. I saw this...
    Replies
    1
    Views
    157
    In the UK, the EPG transmitted in the DVB-T datastream allows each programme to have two genres -- a primary genre, and a secondary genre (i.e. a subgenre). The primary genre might be something like Film (or Movie in the USA). The secondary genre for Film might be something like: Action, Comedy, Crime, Fantasy, Romance, Science...
    In the UK, the EPG transmitted in the DVB-T datastream allows each programme to have two genres -- a primary genre, and a secondary...
    In the UK, the EPG transmitted in the DVB-T datastream allows each programme to have two genres -- a primary genre, and a secondary...
    Replies
    0
    Views
    430
    Top Bottom