ForTheLibrary - XBMC Library & ForTheRecord/Argus PVR Integration - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116) +--- Thread: ForTheLibrary - XBMC Library & ForTheRecord/Argus PVR Integration (/showthread.php?tid=125364) |
RE: ForTheLibrary - XBMC Library & ForTheRecord PVR Integration - facted - 2012-08-19 I'm having an issue with ForTheLibrary where it gets a 404 response from my FTR server. I have the same exact FTR server settings both in ForTheLibrary and in XMLTVDB and they work in XMLTVDB and not in ForTheLibrary. I've attached the ForTheLibrary debug below. Any ideas? DEBUG: 08/19/2012 09:16:15 AM INFO Logger has been initialized. Base log directory is: C:\Lucas's Program Files\HTPC\TV Recording\ForTheLibrary 08/19/2012 09:16:15 AM INFO JVM runtime info: 5812@HTPC-PC Version: 1.7.0_05 08/19/2012 09:16:15 AM DEBUG Logger options are: levelToLogAt: INFO isSingleInstance: true singleInstanceport: 55201 singleInstanceTimeout: 600 logToSystemOut: true logToMemory: true logToCurrentFile: true logToHistoryFile: true logExpireDays: 14 08/19/2012 09:16:15 AM INFO Base directory set to: C:\Lucas's Program Files\HTPC\TV Recording\ForTheLibrary 08/19/2012 09:16:15 AM INFO Loading properties file from: C:\Lucas's Program Files\HTPC\TV Recording\ForTheLibrary\ForTheLibrary.properties 08/19/2012 09:16:15 AM INFO LOG_LEVEL determined to be "INFO" 08/19/2012 09:16:15 AM NOTICE Console Log Level set to: INFO 08/19/2012 09:16:15 AM DEBUG SMTP_SERVER = smtp.example.com 08/19/2012 09:16:15 AM DEBUG SMTP_USES_SSL = false 08/19/2012 09:16:15 AM DEBUG SMTP_USERNAME = null 08/19/2012 09:16:15 AM DEBUG SMTP_PASSWORD = null 08/19/2012 09:16:15 AM DEBUG SMTP_PORT = 25 08/19/2012 09:16:15 AM DEBUG FTR_WEBSERVICE_URL = http://localhost:49943 08/19/2012 09:16:15 AM DEBUG WAIT_SEC = 0 08/19/2012 09:16:15 AM DEBUG ARTIFACT_DELETE = false 08/19/2012 09:16:15 AM DEBUG ARTIFACT_EXTS = [incommercial] 08/19/2012 09:16:15 AM DEBUG VIDEO_EXTS = [ts, mpg] 08/19/2012 09:16:15 AM DEBUG SEASON_WORD = Season 08/19/2012 09:16:15 AM DEBUG EDL_CONVERSION = false 08/19/2012 09:16:15 AM DEBUG XBMC_LIBRARY_UPDATE = true 08/19/2012 09:16:15 AM DEBUG XBMC_LIBRARY_UPDATE_SEC = 30 08/19/2012 09:16:15 AM DEBUG UPDATE_ENTIRE_XBMC_LIBRARY = false 08/19/2012 09:16:15 AM DEBUG XBMC_WEBSERVER_URL = http://192.168.1.9:8080 08/19/2012 09:16:15 AM DEBUG EXCLUDED_SERIESNAMES = [sign off] 08/19/2012 09:16:15 AM DEBUG EXCLUDED_GENRES = [paid programming] 08/19/2012 09:16:15 AM DEBUG PROCESS_PARTIAL_RECORDINGS = false 08/19/2012 09:16:15 AM DEBUG POST_PROCESSING_BAT_FILE = 08/19/2012 09:16:15 AM DEBUG WAIT_FOR_MORE_PARTS_SEC = 180 08/19/2012 09:16:15 AM DEBUG JOIN_PARTIAL_RECORDINGS = false 08/19/2012 09:16:15 AM DEBUG FFMPEG_EXE_PATH = C:\ffmpeg\bin\ffmpeg.exe 08/19/2012 09:16:15 AM DEBUG DB_ADD_PARTIAL_EPISODES = false 08/19/2012 09:16:15 AM DEBUG EMAIL_NOTIFICATIONS = false 08/19/2012 09:16:15 AM INFO ForTheLibrary initialized. Version is: 1.0; compatible with ForTheRecord version: 1.6.0.2 08/19/2012 09:16:15 AM DEBUG Getting response using: POST from: http://localhost:49943/Core/Version 08/19/2012 09:16:15 AM DEBUG HTTP response code is: 404 08/19/2012 09:16:15 AM WARN Abnormal response code from server: 404 08/19/2012 09:16:15 AM WARN Error response from server: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd"> <HTML><HEAD><TITLE>Not Found</TITLE> <META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD> <BODY><h2>Not Found</h2> <hr><p>HTTP Error 404. The requested resource is not found.</p> </BODY></HTML> 08/19/2012 09:16:15 AM ERROR General Error: btv.http.HttpFileNotFoundException: 404 - not found btv.http.HttpFileNotFoundException: 404 - not found btv.http.BTVHTTP.readConn(BTVHTTP.java:279) btv.http.BTVHTTP.readUrl(BTVHTTP.java:216) btv.http.BTVHTTP.POST(BTVHTTP.java:137) forthelibrary.ForTheLibrary.<init>(ForTheLibrary.java:234) forthelibrary.ForTheLibrary.main(ForTheLibrary.java:86) 08/19/2012 09:16:15 AM NOTICE ------Finished------ RE: ForTheLibrary - XBMC Library & ForTheRecord PVR Integration - bradvido88 - 2012-08-20 What happens when you try to bring up http://localhost:49943/Core/Version in your web browser? RE: ForTheLibrary - XBMC Library & ForTheRecord PVR Integration - facted - 2012-08-20 Not Found. HTTP Error 404. The requested resource is not found. I'm on Windows 7. Very weird because the same address in XMLTVDB works fine in the config file. RE: ForTheLibrary - XBMC Library & ForTheRecord PVR Integration - bradvido88 - 2012-08-21 If that is your correct FTR url, you will not get a 404 when you bring it up in your web browser. I'd re-check your config and port numbers. RE: ForTheLibrary - XBMC Library & ForTheRecord PVR Integration - facted - 2012-08-22 What's weird is that xmltvdb works with the same exact settings for the ftr server. Where can I check the config and port numbers in FTR? RE: ForTheLibrary - XBMC Library & ForTheRecord PVR Integration - bradvido88 - 2012-08-22 You probably just need to tack on a ForTheRecord to the end of your url, like so http://localhost:49943/ForTheRecord RE: ForTheLibrary - XBMC Library & ForTheRecord PVR Integration - facted - 2012-08-24 That also does not work. How can I check my config in FTR? Also, my mx2xml data includes episode numbers as something like "108". Can FTR break this down automatically to name files something like Season\Episode#.ts? RE: ForTheLibrary - XBMC Library & ForTheRecord PVR Integration - kamalman - 2012-10-13 I am having the exact same issue: "Error 404 the requested resource is not found" The address "http:username:password@localhost:49943" works fine in both XMLTVDB and also works fine in the 4TR PVR Config in XBMC. But it will not work at all in ForTheLibrary. I cannot surf to the address in a browser. Adding "/ForTheRecord" makes no difference. Here is a copy of my debug file, please help: 10/12/2012 02:40:03 AM INFO Logger has been initialized. Base log directory is: C:\Users\Joseph\Downloads\ForTheLibrary-v1.1 10/12/2012 02:40:03 AM INFO JVM runtime info: 8180@bert Version: 1.7.0_07 10/12/2012 02:40:03 AM DEBUG Logger options are: levelToLogAt: INFO isSingleInstance: true singleInstanceport: 55201 singleInstanceTimeout: 600 logToSystemOut: true logToMemory: true logToCurrentFile: true logToHistoryFile: true logExpireDays: 14 10/12/2012 02:40:03 AM INFO Base directory set to: C:\Users\Joseph\Downloads\ForTheLibrary-v1.1 10/12/2012 02:40:03 AM INFO Loading properties file from: C:\Users\Joseph\Downloads\ForTheLibrary-v1.1\ForTheLibrary.properties 10/12/2012 02:40:03 AM INFO LOG_LEVEL determined to be "INFO" 10/12/2012 02:40:03 AM NOTICE Console Log Level set to: INFO 10/12/2012 02:40:03 AM DEBUG SMTP_SERVER = smtp.example.com 10/12/2012 02:40:03 AM DEBUG SMTP_USES_SSL = false 10/12/2012 02:40:03 AM DEBUG SMTP_USERNAME = null 10/12/2012 02:40:03 AM DEBUG SMTP_PASSWORD = null 10/12/2012 02:40:03 AM DEBUG SMTP_PORT = 25 10/12/2012 02:40:03 AM DEBUG FTR_WEBSERVICE_URL = http://kamalman:jameson12@localhost:49943 10/12/2012 02:40:03 AM DEBUG WAIT_SEC = 30 10/12/2012 02:40:03 AM DEBUG ARTIFACT_DELETE = false 10/12/2012 02:40:03 AM DEBUG ARTIFACT_EXTS = [incommercial] 10/12/2012 02:40:03 AM DEBUG VIDEO_EXTS = [ts, mpg] 10/12/2012 02:40:03 AM DEBUG SEASON_WORD = Season 10/12/2012 02:40:03 AM DEBUG EDL_CONVERSION = false 10/12/2012 02:40:03 AM DEBUG XBMC_LIBRARY_UPDATE = true 10/12/2012 02:40:03 AM DEBUG XBMC_LIBRARY_UPDATE_SEC = 150 10/12/2012 02:40:03 AM DEBUG UPDATE_ENTIRE_XBMC_LIBRARY = true 10/12/2012 02:40:03 AM DEBUG XBMC_WEBSERVER_URL = http://kamalman:jameson12@localhost:8090 10/12/2012 02:40:03 AM DEBUG EXCLUDED_SERIESNAMES = [sign off] 10/12/2012 02:40:03 AM DEBUG EXCLUDED_GENRES = [paid programming] 10/12/2012 02:40:03 AM DEBUG PROCESS_PARTIAL_RECORDINGS = false 10/12/2012 02:40:03 AM DEBUG POST_PROCESSING_BAT_FILE = 10/12/2012 02:40:03 AM DEBUG WAIT_FOR_MORE_PARTS_SEC = 180 10/12/2012 02:40:03 AM DEBUG JOIN_PARTIAL_RECORDINGS = false 10/12/2012 02:40:03 AM DEBUG FFMPEG_EXE_PATH = C:\ffmpeg\bin\ffmpeg.exe 10/12/2012 02:40:03 AM DEBUG DB_ADD_PARTIAL_EPISODES = false 10/12/2012 02:40:03 AM DEBUG EMAIL_NOTIFICATIONS = false 10/12/2012 02:40:03 AM INFO ForTheLibrary initialized. Version is: 1.0; compatible with ForTheRecord version: 1.6.0.2 10/12/2012 02:40:03 AM DEBUG Getting response using: POST from: http://kamalman:XXXXXXX@localhost:49943/Core/Version 10/12/2012 02:40:03 AM DEBUG Using HTTP Basic auth: kamalman:XXXXXXXX 10/12/2012 02:40:03 AM DEBUG HTTP response code is: 404 10/12/2012 02:40:03 AM WARN Abnormal response code from server: 404 10/12/2012 02:40:03 AM WARN Error response from server: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd"> <HTML><HEAD><TITLE>Not Found</TITLE> <META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD> <BODY><h2>Not Found</h2> <hr><p>HTTP Error 404. The requested resource is not found.</p> </BODY></HTML> 10/12/2012 02:40:03 AM ERROR General Error: btv.http.HttpFileNotFoundException: 404 - not found btv.http.HttpFileNotFoundException: 404 - not found btv.http.BTVHTTP.readConn(BTVHTTP.java:279) btv.http.BTVHTTP.readUrl(BTVHTTP.java:216) btv.http.BTVHTTP.POST(BTVHTTP.java:137) forthelibrary.ForTheLibrary.<init>(ForTheLibrary.java:234) forthelibrary.ForTheLibrary.main(ForTheLibrary.java:86) RE: ForTheLibrary - XBMC Library & ForTheRecord PVR Integration - bradvido88 - 2012-10-16 My config that works is: FTR_WEBSERVICE_URL=http://onyx:49943/ForTheRecord Unless you've got a non-default setup, you will need to add /ForTheRecord to the end of your URL. (In XMLTVDB, it does this internally in the code, so that explains why it works there) It can depend on how you have your webserver set up, but basically, you can debug by trying to browse to the URLs in your browser, and if you get 404's, then you have the wrong url. (if you see a page that says "Service... method not allowed", that is expected because you are GETting and not POSTing) RE: ForTheLibrary - XBMC Library & ForTheRecord PVR Integration - bradvido88 - 2012-10-16 There is a new download available (v1.1.1). You could try that: http://code.google.com/p/forthelibrary/downloads/list I'm using it and it's running flawlessly. RE: ForTheLibrary - XBMC Library & ForTheRecord PVR Integration - ehfortin - 2012-11-07 @bradvido88 What exactly FTL is doing when "archiving" recordings? I've read the thread and I'm still unclear about FTL. It seems to do more then just "add" the FTR recordings to XBMC but I'm not sure what. I'm using FTR to do my recordings on a local disk and I manually (for now) move them to a repository on my NAS. This is done because I may have recordings starting or active while I may have to reboot my NAS (it is a VM under VMware and I'm modifying it from time to time or upgrading my NAS OS, etc). Anyway, I want to make sure that whatever happens on the NAS, it won't impact the recordings on FTR. I've saw an option to add a post-processing script and that could be a place to add a move to the NAS. However, this will change the UNC to the file so... maybe a pre-processing script would be better. I can do that in the batch file that will invoke FTL but making sure that I fully understand what FTL is expecting and doing would help in my analysis of the situation. Thank you for your various tools, they are very useful. ehfortin RE: ForTheLibrary - XBMC Library & ForTheRecord PVR Integration - bradvido88 - 2012-11-07 (2012-11-07, 22:27)ehfortin Wrote: @bradvido88 FTL will move your recorded files into either a "_TV Shows" or "_Movies" directory after they finish recording. Within those directories, the recordings will be named in a way that XBMC can scrape/understand. If you need those directories to be located somewhere other than your default FTR recording share, you could make them symlinks to a NAS or whatever. FTR will also be updated with the new location of the recording (using the FTR API), so the recordings will still show up as usual in your PVR listings. RE: ForTheLibrary - XBMC Library & ForTheRecord PVR Integration - ehfortin - 2012-11-07 (2012-11-07, 22:31)bradvido88 Wrote: FTL will move your recorded files into either a "_TV Shows" or "_Movies" directory after they finish recording. Within those directories, the recordings will be named in a way that XBMC can scrape/understand. If you need those directories to be located somewhere other than your default FTR recording share, you could make them symlinks to a NAS or whatever. I read that. I should have remembered. That being said, my recordings are already created directly in a "TV Shows" or "Movies" folder tree structure. I've use the internal abilities of FTR to do it. In the section "Recording File Name Formats", I've added those: Series: TV Shows\%%TITLE%%\Season %%SERIES%%\%%TITLE%% - S%%SERIES%%E%%EPISODENUMBER2%% - %%EPISODETITLE%% One-time: Movies\%%TITLE%%\%%TITLE%% As such, a TV Shows or Movies folder is created and then, below it, a folder for the movie or a subtree for a serie is built (Serie Name\Season #\Serie - s#e# - title just like XBMC is looking for). Right now in FTL, I don't see a way to give an alternate output folder. It would be great to be able to tell FTL to do its job but with the shared folder of our choice. I would see an advantage in using FTL as it also update FTR which is great and call for the XBMC update after doing the move. Is it something you could consider adding to FTL? Thank you. ehfortin RE: ForTheLibrary - XBMC Library & ForTheRecord PVR Integration - pkscout - 2012-11-29 Just in case anyone goes over to the 4TheRecord Forum and has a mild panic attack (like I did), it looks like FTR has been open sourced and is now called ArgusTV and they have a new forum. For me at least I was able to use the same login ID and password I had for the old forum site. RE: ForTheLibrary - XBMC Library & ForTheRecord PVR Integration - pkscout - 2013-01-06 So I've taken yet another stab at replacing my SageTV setup with FTR (well, ArgusTV now). Everything is working well this time around. I guess moving to Hawaii, building a new HTPC, and using an HD HomeRun instead of internal QAM cards all helped. I've also setup XMLTVDB to process a Schedule Direct XML file I download using XMLTV GUI. Yesterday it worked fine. Today nothing. I checked the logs and saw this: Code: 01/05/2013 04:33:54 PM INFO TheTVDB series ID is overridden in config file, no need to look it up. Using ID of: "164541" I did some poking around in the XML file, and it turns out the episode of Hawaii Five-0 in question had no <desc></desc> element. It looks like this: Code: <programme start="20130120170000 -1000" stop="20130120180000 -1000" channel="NA_SD_PC:96815_34331_5"> So I added the description and the file processed file. The thing is, I'm assuming I'm going to have to do that every day now until this "bad" episode of Hawaii Five-0 ages out. Is there anyway XMLTVDB could be updated to at least not end with a fatal error when some of the elements of the episode description are missing? |