Comments (4)
Two things, maybe more.
First I did not at any time look at macOS and I do not intend to do that. First it is linux and I will treat it as such, second me and mac hate each other, even more then I dislike MS and that goes back way farther then when mac embraced linux. It structurally always has tried to think for me and most of the time has thought wrong!
Secondly the source_dir in setup.py is only to place a backup copy of the two main json files and as such is the same as the backup location in the main program, which is the same location used as when you run --install as root.
from tvgrabpyapi.
There is something to say for choosing /var/local or /opt/var (/opt should be a simlink to /usr/local and /opt/local does not exist in any linux or unix scheme!) but I have so far only seen /usr used this way. I use gentoo which is hardcore linux.
from tvgrabpyapi.
Let me elaborate a little. Apple adopted linux as their kernel, like Novell did and as MS will do in due time. Linux (and Unix) or Posix have a directory scheme. Adopting the kernel is adopting the scheme. The differences should only be in their X implementation. /opt/local does not exist in any variation as it is a double. At present there is a movement (I applaud) to get rid of all extra and superfluous directories in this scheme. /bin and /sbin should move to /usr merging with those in there, /opt and /usr/local are the same. I have them simlinked.
This program is outside X, so mac-OS should be 100%% linux in this respect and there should be no difference!
from tvgrabpyapi.
Hi Hika,
I see you have a strong opinion on this. I'm not going to defend the way Apple selected paths. I don't like some of their choices either. That said, this is the system I have to deal with. Now I fully understand and appreciate your decision not to write a letter code for this hateful OS :). However, would you be willing to consider code contributions?
That said, I have a few comments to make about your rant:
- You mentioned that
mac-OS should be 100% linux
. No, it is not. It is Posix compatible (and even Posix certified), but it does not follow FHS (for good or -arguably- bad). Also, Mac OS is not based on Linux at all. It is based on BSD (the Mach kernel to be specific). - Posix does not enforce a directory structure, the Filesystem Hierarchy Standard (FHS) does. Unlike Mac OS, most Unix version thankfully follow the FHS. Unfortunately, that's no guarantee it is all the same. Let's consider FreeBSD which both has a
/usr/local/etc
directory and a/etc
, based on how you installed a piece of software (manually or with a package). You and I may not like this (well, I don't), but that's just what the distribution uses. Hard-coding/etc
breaks with that. - As for
/opt/local
, this is a choice by Ports, a Package manager. This is not a standard Mac OS path. I previously used Fink, which used/sw
. Ugly? Yes! In my power to change? No.
I propose to keep this closed and focus on user-specified ways to change default paths. I can perfectly live with software that decide to ignore all those cockamamie defaults paths dictated by Mac OS X. I have a harder time living with software that hard-code paths without the option to customize it. It's no coincidence that I opened #4 first. Flexibility is key.
from tvgrabpyapi.
Related Issues (20)
- Errors retrieving details from tvgids.nl HOT 5
- Extremely slow and data-errors in tvgids.nl HOT 1
- Memory usage? HOT 5
- is it ready for end-user? HOT 7
- tv_grab_nl3.py with --quiet still writes to stderr HOT 4
- Source "Humo" fails HOT 15
- tvgrabpy looping after exception in sources. HOT 6
- NPO Episode Numbers HOT 23
- Lot of programs have missing serie and episode HOT 17
- Hangs HOT 1
- Cannot disable source 8 HOT 15
- Port to Python 3 HOT 14
- Encoding/locale issue in retrieved EPG data HOT 2
- JSON error HOT 4
- tv_grab_fetch error: ValueError: 1 is not in list HOT 9
- Tvgrabber stopped working after json errorin sourcefile for source-horizon.tv HOT 1
- Serie information missing from lot of programs and lot of stations. HOT 5
- BBC First: time offset HOT 5
- tvgrab no longer works due to lack of valid sources HOT 2
- Configure offset -1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tvgrabpyapi.