Glubschauge / freetuxtv

Automatically exported from code.google.com/p/freetuxtv
GNU General Public License v3.0
0 stars 0 forks source link

Request: Command line interface or API #73

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'd like to request some kind of command line interface or other API so that it 
becomes possible to start freetuxtv with a certain channel from another 
program. I'd really like to be able to start freetuxtv from within TV-Browser 
(see tvbrowser.org) and would happily create a plugin for TV-Browser myself.

If such an API or command line interface already exists, please guide to me to 
its description.

Original issue reported on code.google.com by bananewe...@gmail.com on 30 Jul 2010 at 5:53

GoogleCodeExporter commented 9 years ago
Yes it's sounds possible. But how do you want it's works?

What are the argument you want to past through the command line? An URL, a 
channel name?

Do you have any example?

Original comment by eric.beuque on 31 Jul 2010 at 9:27

GoogleCodeExporter commented 9 years ago
For me it does not really matter what to pass as argument, as I will have to do 
some mapping between the TV-Browser internal channels and your interface anyway.

Channel names would be the most simple argument and could also be used by 
"normal" human users. :) But I guess that might lead to duplicate channel names 
(same name, but different countries) at least in some cases. So if you have 
anything else which is more robust (maybe some internal identifier that you 
already use yourself) I'm happy with anything as long as it is documented 
somewhere (even identifiers in source code may be enough as documentation).

I've done a similar integration already for the zattoo player, where I also 
just mapped the TV-Browser internal channel identifiers to the zattoo channel 
identifiers (which can be seen on their website by inspecting the links for 
their web player).

Original comment by bananewe...@gmail.com on 31 Jul 2010 at 12:17

GoogleCodeExporter commented 9 years ago

Original comment by eric.beuque on 31 Jul 2010 at 5:45

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r416.

Original comment by eric.beuque on 4 Aug 2010 at 7:37

GoogleCodeExporter commented 9 years ago
Now (in developpement version), you can use option --open-channel which look 
for a channel with the given name.
$> freetuxtv --open-channel "NRJ Hits"

Original comment by eric.beuque on 4 Aug 2010 at 7:46