|
SageMC Custom Interface This forum is for discussing the user-created SageMC custom interface for SageTV. |
|
Thread Tools | Search this Thread | Display Modes |
#121
|
||||
|
||||
I had another thought that may apply to the scraping tools. I know we said that we want to leave the file names intact so that the scraper can compare file names and know what it already downloaded. However, how do we handle the case where some of the scraped fan art is poor quality and we want to delete it? If we simply delete, will the scraper automatically re-download?
__________________
Server: Ryzen 2400G with integrated graphics, ASRock X470 Taichi Motherboard, HDMI output to Vizio 1080p LCD, Win10-64Bit (Professional), 16GB RAM Capture Devices (7 tuners): Colossus (x1), HDHR Prime (x2),USBUIRT (multi-zone) Source: Comcast/Xfinity X1 Cable Primary Client: Server Other Clients: (1) HD200, (1) HD300 Retired Equipment: MediaMVP, PVR150 (x2), PVR150MCE, HDHR, HVR-2250, HD-PVR |
#122
|
||||
|
||||
Quote:
A way around it would be to only download images if the folder doesn't already exist. That way the first time it would populate everything, but every subsequent time it wouldn't try to download anything, even if new fanart is added to the scraping website. |
#123
|
||||
|
||||
What about appending a new extension (like .del or .rm) to the files to be ignored instead of deleting them? The scraper could check against those files as well as the originals and the fan art class could be updated to exclude files with that extension.
Aloha, Mike
__________________
"Everything doesn't exist. I'm thirsty." ...later... "No, it's real!!! I'm full." - Nikolaus (4yrs old) |
#124
|
|||
|
|||
I don't see this as an issue if we have the abilty to choose between three different images from within the SageMC UI. Its been my expirence so far that at least one of those three would be a good image and you'd be quite unlucky to get three bad ones. Even if you did get 3 bad images the idea of limiting the maximum downloaded images is to allow the user to do some work on their favorite images themselves rather than to spam TVDB for 30+ backgrounds in once instance.
Just my thoughts edit: Another thought might be to only download the three highest user rated images which should be the best three available.
__________________
Server - Win7 64bit, 2.4Ghz Intel Core 2 Duo, TBS 6284 PCI-E Quad DVB-T2 Tuner, 3 x HD200 & 1 x HD300 extenders Last edited by jaminben; 03-19-2009 at 02:38 PM. |
#125
|
||||
|
||||
How about this.....
in each folder that contains metadata, have an optional "Images" files. This file contains the name of each image that has been added to the folder. When a scraper downloads an image, it's checks to see if the image name exists in the Images file. If it does, then the image is skipped, if not the image is downloaded and then it's name is added to the Images file. This way, a user can manually remove images, and not have to worry about it being redownloaded. Also, users can rename images, or the scrapers can rename images for that matter, and not download the image more than once. If a user wants to redownload fanart, then they'll have to manually remove the name from the Images file. A sample images file may look like Code:
poster_1920.jpg poster_lowres.jpg This way the fanart apis don't need to be udpated, and it's up to scrapers to "honor" the Images file or not.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#126
|
||||
|
||||
Stuckless,
Considering that various sites which contain fanart commonly have odd names for the images which do not conform to our naming schema, how should we tie an image a scraper has downloaded to a local filename? Can I assume the "images" file should contain both the remote source and the local filename?
__________________
SageTV 6.6.2, SageMC+CenterSage Theme Server: Intel Core2 Q6600, 8gb memory, 3x 1tb WD EACS drives, software RAID5 2tb capacity, 4gb Flash boot drive, Ubuntu 8.0.4 Server edition Capture: 1x HD-PVR -> Motorola DTC6200 Clients: 1x STX-HD100 1x STX-HD200, Windows & OSX Clients |
#127
|
||||
|
||||
Quote:
I personally like Mike's idea because checking for the existence of a file is easier than reading in a text file and doing string compares. Last edited by evilpenguin; 03-19-2009 at 03:55 PM. |
#128
|
||||
|
||||
Maybe another possibility would be to only automatically look for new fan art if no fan art exists. Once a folder is created, don't keep automatically checking for new art, but allow a manual method to force it to check for new art if desired.
I probably missed it in an earlier post, but what triggers the scraper to go out and look for new images?
__________________
Server: Ryzen 2400G with integrated graphics, ASRock X470 Taichi Motherboard, HDMI output to Vizio 1080p LCD, Win10-64Bit (Professional), 16GB RAM Capture Devices (7 tuners): Colossus (x1), HDHR Prime (x2),USBUIRT (multi-zone) Source: Comcast/Xfinity X1 Cable Primary Client: Server Other Clients: (1) HD200, (1) HD300 Retired Equipment: MediaMVP, PVR150 (x2), PVR150MCE, HDHR, HVR-2250, HD-PVR |
#129
|
|||
|
|||
How would this also work for when you start getting new seasons? Would it see that its a new season and download new backgrounds, posters etc that are related to that season or would it just use what it already had?
Thought I'd throw that one into the pot as well
__________________
Server - Win7 64bit, 2.4Ghz Intel Core 2 Duo, TBS 6284 PCI-E Quad DVB-T2 Tuner, 3 x HD200 & 1 x HD300 extenders |
#130
|
||||
|
||||
While my ideas of using an "Images" file is a little more work for the scrapers, it actually a lot more intuitive for the end users... ie, they just delete fanart images that they don't want, and the folders are a little neater in the end. As it stands, I have to update the scraper to do "something", but with this solution, I don't have to update the phoenix api as well
jaminben, season artwork is downloaded into its own folder... so it would only look into its own folder for existing artwork. ie, the scrapers would not check all seasons for the existence of a piece of artwork (at least bmt won't )
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#131
|
||||
|
||||
Just for the record, I like stuckless' plan best for handling deleted fan art. I really like that it makes it so the scraper no longer cares what the filenames are.
Aloha, Mike
__________________
"Everything doesn't exist. I'm thirsty." ...later... "No, it's real!!! I'm full." - Nikolaus (4yrs old) |
#132
|
||||
|
||||
Not sure if this one is relevant to the new format that is coming, but thought i throw it out there. Zap2it currently populates generic show information for some shows. Specifically The Starter Wife on UniversalHD. I am trying to record this for my wife, but each episode only has the same generic information for the series. I checked the info for the episodes and they all have the same show id as well as the same original air date. How would this new format treat an instance like this? I am currently sorting through the episodes to see what goes where, once i figure out which is which how should I go about renaming them to get the scrapers to pull the correct information?
If this doesn't belong here, please move it to somewhere more relevant. Can't wait to see what you guys have been working on, its gonna be awesome! Regards, Brian |
#133
|
||||
|
||||
Instead of emailing "snapshots" of the phoenix jar to developers, I've decided to add a release to the downloads area. I'll post snapshots there as new functionality is added.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#134
|
|||
|
|||
Is the source code available?
|
#135
|
||||
|
||||
Phoenix is open source (apache 2.0), but currently the project is being developed by a limited # of people. I'll try to post src snapshots when I post binary builds.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#136
|
||||
|
||||
Regarding Actor images (I know, it's been pseudo hashed out and forgotten). Could it have a fallback to a generic Actor folder? So it would check:
TV\SeriesTitle\Season #\Actors\ TV\SeriesTitle\Actors\ \Actors\ and Movies\MovieTitle\Actors\ \Actors This would allow actor images to be displayed, even if there are no Show specific shots of the actor?
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
HD200 FanArt | vexhold | SageMC Custom Interface | 6 | 12-22-2008 09:45 AM |
Digital in Central Florida | melgish | Hardware Support | 0 | 04-04-2008 08:50 AM |
Central European Character problems | alanwww1 | SageTV Software | 0 | 12-15-2007 12:20 PM |
SageTV 2.1 improvments and fixes? | tankd0g | SageTV Software | 2 | 12-09-2004 10:27 PM |