Re: Schedules Direct JSON grabber (tv_grab_sd_json) added to CVS

Kevin Groeneveld <[email protected]>
Newsgroups gmane.comp.tv.xmltv.devel
Message-ID <CABF+-6U+KxBybKF2KL1WbYtsmi1kbyYa4QCqqt=NTF7rmeF03g@mail.gmail.com>
On Tue, May 17, 2016 at 12:49 AM, Robert Eden <[email protected]> wrote:

> Ah, didn't realize I was creating a .cache.conf file.   It was a quick
> hack, I should have actually looked at the output file.
>
> I looked at the get_default_cachedir stuff and it really just hard-codes
> home.  I went ahead and cheated again... I generate the
> XMLTV::Config_file::filename, but now remove the .conf at the end.
>

I implemented a get_default_cache_file sub similar to the
get_default_cachedir functions to remove the File::HomeDir dependency.  It
seems a little cleaner than the XMLTV::Config_file::filename hack.
Although I still think it would be better yet to have the
get_default_cache(dir|file) stuff handled in a common function in XMLTV
somewhere.

I had practically no internet access since Wednesday last week.  There has
been a lot of activity on the XMLTV lists since then...


Kevin

------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j

_______________________________________________
xmltv-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xmltv-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.