Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
128 user(s) are online (95 user(s) are browsing Forums)

Members: 0
Guests: 128

more...

Support us!

Recent OS4 Files
OS4Depot.net






Stream lbry.tv on AmigaOS 4
Site Builder
Joined:
2006/12/2 23:57
From Athens/Dublin
Posts: 630
A new version of aiostreams 1.6 is available with a few fixes and lbry.tv added at the list of supported networks.

Lately I saw that a lot of Amiga and Commodore YouTubers are moving their content to lbry.tv. Also, Hans de Ruiter created his own channel there a month ago, so I thought to try and support this network in aiostreams.

Unfortunately, the website is not usable in our browsers, but with aiostreams you can perform some search on videos and channels, so to find the videos you want to watch. Also, have in mind that lbry.tv serves the videos in best available quality only, so most of them are 1080p. Unless you have a powerful machine, you might have some breaks on the video playback.

You can download the latest version from https://github.com/walkero-gr/aiostreams/releases/tag/v1.6 and an upload to OS4Depot will follow.

For any problems or recommendations, don't hesitate to contact me here or open an issue at https://github.com/walkero-gr/aiostreams/issues

   Report Go to top

Re: Stream lbry.tv on AmigaOS 4
Quite a regular
Joined:
2008/4/10 14:57
From Northern Ireland
Posts: 948
Excellent, many thanks. I will definitely take a look tomorrow.

_________________
AmigaOne X1000.
Radeon R9 270X

http://www.tinylife.org.uk/
   Report Go to top

Re: Stream lbry.tv on AmigaOS 4
Quite a regular
Joined:
2008/4/10 14:57
From Northern Ireland
Posts: 948
@walkero

Hi Walkero.

Lbry.tv not working for me:
lbrytv.py -u https://lbry.tv/@candrsenal:c/takedown-marlin-model-1898:d

Youtube seems fine:
youtube.py -u https://www.youtube.com/watch?v=08TyY1eqW3A -q 720

Please can someone test the lbry.tv cmd line above?

Thanks.

_________________
AmigaOne X1000.
Radeon R9 270X

http://www.tinylife.org.uk/
   Report Go to top

Re: Stream lbry.tv on AmigaOS 4
Site Builder
Joined:
2006/12/2 23:57
From Athens/Dublin
Posts: 630
@ddni
Thanks for testing it. Is there an error that you see at the shell? I will test it on my AmigaOne later today.

   Report Go to top

Re: Stream lbry.tv on AmigaOS 4
Just popping in
Joined:
2009/12/31 17:27
From Westerwald
Posts: 87
@ddni

Works also not here.

Here is a SnoopyLog with fails, maybe it helps.

Snoopy Log:


02002 : mplayer : o.k. = Open("PROGDIR:conf/config",OLD) = [0x1BEB7F6A] [36uS]
02003 : mplayer : o.k. = ExamineObject(0x51299CB8) [11uS]
02004 : mplayer : FAIL = IsInteractive("PROGDIR:conf/config")
02005 : mplayer : o.k. = IsFileSystem("PROGDIR:") [8uS]
02006 : mplayer : o.k. = ExamineFH("config") [5uS]
02007 : mplayer : DIR = ParentOfFH(0x1BEB7F6A) "PROGDIR:conf/config" [8uS]
02008 : mplayer : o.k. = ExamineFH("config") [3uS]
02009 : mplayer : FAIL = Open("PROGDIR:conf/font/font.desc",OLD) = [0x00000000] [24uS]
02010 : mplayer : FAIL = Open("https://cdn.lbryplayer.ifo",OLD) = [0x00000000] [41uS]
02011 : mplayer : FAIL = Open("https://cdn.lbryplayer.idx",OLD) = [0x00000000] [28uS]
02012 : MPlayer ARexx Process : 0 = FindSegmentStackSize("<untracked>") [12uS]
02013 : MPlayer ARexx Process : o.k. = [exec] OpenLibrary("arexx.class",0) [30uS]
02014 : MPlayer ARexx Process : FAIL = [exec] FindPort("MPLAYER.1") [5uS]
02015 : mplayer : o.k. = [exec] OpenLibrary("bsdsocket.library",3) [15uS]
02016 : mplayer : o.k. = Open("DEVS:Internet/hosts",OLD) = [0x16D5182C] [77uS]
02017 : mplayer : FAIL = GetVar("LOCALDOMAIN",0x54A71C44,255,0x00000000) [82uS]
02018 : mplayer : o.k. = Open("DEVS:Internet/name_resolution",OLD) = [0x16D5182C] [36uS]
02019 : mplayer : o.k. = Open("DEVS:Internet/hosts",OLD) = [0x16D5182C] [36uS]
02020 : mplayer : FAIL = GetVar("HOSTNAME",0x54A71C44,255,0x00000000) [61uS]
02021 : mplayer : FAIL = GetVar("RES_OPTIONS",0x54A71C44,255,0x00000000) [57uS]
02022 : Shell Process : o.k. = SetMode("<untracked>",[LINE]) [1187uS]
02023 : Shell Process : FAIL = GetVar("_Title",0x5750A40C,256,0x00000200) [5uS]
02024 : Shell Process : FAIL = GetVar("Echo",0x5F39CD38,32,0x00000200) [2uS]
02025 : Shell Process : FAIL = GetVar("OldRedirect",0x5F39CD38,32,0x00000200) [2uS]
02026 : Shell Process : FAIL = GetVar("KeepDoubleQuotes",0x5F39CD38,32,0x00000200) [2uS]
02027 : Shell Process : FAIL = GetVar("Interactive",0x5F39CD38,32,0x00000200) [2uS]
02028 : mplayer : SetCurrentDir("SYS:")
02029 : mplayer : <----- RunCommand(0x16CD21E9 "APPDIR:mplayer",,"https://cdn.lbryplayer.xyz/api/v3/streams/free/what
02030 : Background CLI : o.k. = GetVar("_ScriptLine",0x54901DD0,40,0x00000200) [5uS]
02031 : Background CLI : FAIL = GetVar("Echo",0x54901D38,32,0x00000200) [3uS]
02032 : Background CLI : FAIL = GetVar("OldRedirect",0x54901D38,32,0x00000200) [2uS]
02033 : Background CLI : FAIL = GetVar("KeepDoubleQuotes",0x54901D38,32,0x00000200) [2uS]
02034 : Background CLI : FAIL = GetVar("Interactive",0x54901D38,32,0x00000200) [2uS]

   Report Go to top

Re: Stream lbry.tv on AmigaOS 4
Site Builder
Joined:
2006/12/2 23:57
From Athens/Dublin
Posts: 630
Thank you guys for your feedback. An updated version that fixes this problem is available at https://github.com/walkero-gr/aiostreams/releases/tag/v1.6.1

Please, give it a go and tell me how it works on your machine.

   Report Go to top

Re: Stream lbry.tv on AmigaOS 4
Quite a regular
Joined:
2008/4/10 14:57
From Northern Ireland
Posts: 948
@walkero

Hi thanks for the new version, still no lbry output from mplayer. No shell errors. Snoopy log below.

02072 : mplayer-altivec : 5000000 = FindSegmentStackSize("DH1:Programs/Video/MickJT-MPlayer/mplayer-altivec") [60778uS]
02073 : mplayer-altivec : -----> RunCommand(0x13E2D411 "DH1:Programs/Video/MickJT-MPlayer/mplayer-altivec",,"https://cdn.lbry
02074 : mplayer-altivec : 5000000 = FindSegmentStackSize("DH1:Programs/Video/MickJT-MPlayer/mplayer-altivec") [2uS]
02075 : mplayer-altivec : o.k. = [exec] OpenLibrary("newlib.library",52) [7uS]
02076 : mplayer-altivec : FAIL = IsInteractive("<untracked>")
02077 : mplayer-altivec : FAIL = IsInteractive("NIL:")
02078 : mplayer-altivec : o.k. = IsInteractive("CONSOLE:")
02079 : mplayer-altivec : o.k. = IsInteractive("CONSOLE:")
02080 : mplayer-altivec : FAIL = GetVar("EXEC_IMPORT_LOCAL",0x4DBADD18,8,0x00000200) [6uS]
02081 : mplayer-altivec : o.k. = Lock("System:",SHARED) [24uS]
02082 : mplayer-altivec : SetCurrentDir("System:")
02083 : mplayer-altivec : o.k. = [exec] OpenLibrary("icon.library",0) [10uS]
02084 : mplayer-altivec : o.k. = [exec] OpenLibrary("intuition.library",0) [3uS]
02085 : mplayer-altivec : o.k. = [exec] OpenLibrary("pthreads.library",53) [19uS]
02086 : mplayer-altivec : o.k. = [exec] OpenLibrary("dos.library",52) [2uS]
02087 : mplayer-altivec : o.k. = [exec] OpenLibrary("dos.library",0) [2uS]
02088 : mplayer-altivec : o.k. = [exec] OpenLibrary("asl.library",0) [3uS]
02089 : mplayer-altivec : o.k. = [exec] OpenLibrary("intuition.library",51) [1uS]
02090 : mplayer-altivec : o.k. = [exec] OpenLibrary("graphics.library",51) [2uS]
02091 : mplayer-altivec : o.k. = [exec] OpenLibrary("application.library",51) [53uS]
02092 : mplayer-altivec : o.k. = [exec] OpenLibrary("workbench.library",51) [4uS]
02093 : mplayer-altivec : o.k. = [exec] OpenLibrary("keymap.library",51) [2uS]
02094 : mplayer-altivec : o.k. = [exec] OpenLibrary("layers.library",51) [2uS]
02095 : mplayer-altivec : o.k. = [exec] OpenLibrary("Picasso96API.library",51) [2uS]
02096 : mplayer-altivec : o.k. = [exec] OpenLibrary("gadtools.library",51) [2uS]
02097 : mplayer-altivec : o.k. = [exec] OpenLibrary("requester.class",53) [4uS]
02098 : mplayer-altivec : o.k. = CreateNewProc("MPlayer ARexx Process") [184uS]
02099 : mplayer-altivec : FAIL = Open("/PROGDIR/conf/mplayer.conf",OLD) = [0x00000000] [19uS]
02100 : mplayer-altivec : FAIL = CreateDir("PROGDIR:conf/") [11uS]
02101 : mplayer-altivec : o.k. = Lock("PROGDIR:conf/config",SHARED) [31uS]
02102 : mplayer-altivec : o.k. = Open("PROGDIR:conf/config",OLD) = [0x16A2680E] [24uS]
02103 : mplayer-altivec : o.k. = ExamineObject(0x4DBABCB8) [14uS]
02104 : mplayer-altivec : FAIL = IsInteractive("PROGDIR:conf/config")
02105 : mplayer-altivec : o.k. = IsFileSystem("PROGDIR:") [6uS]
02106 : mplayer-altivec : o.k. = ExamineFH("config") [5uS]
02107 : mplayer-altivec : DIR = ParentOfFH(0x16A2680E) "PROGDIR:conf/config" [11uS]
02108 : mplayer-altivec : o.k. = ExamineFH("config") [3uS]
02109 : mplayer-altivec : FAIL = Open("PROGDIR:conf/codecs.conf",OLD) = [0x00000000] [20uS]
02110 : mplayer-altivec : FAIL = Open("/PROGDIR/conf/codecs.conf",OLD) = [0x00000000] [13uS]
02111 : mplayer-altivec : FAIL = Open("PROGDIR:conf/font/font.desc",OLD) = [0x00000000] [27uS]
02112 : mplayer-altivec : FAIL = Open("/PROGDIR/conf/font/font.desc",OLD) = [0x00000000] [15uS]
02113 : mplayer-altivec : o.k. = Open("PROGDIR:conf/input.conf",OLD) = [0x16A2680E] [30uS]
02114 : mplayer-altivec : o.k. = ExamineObject(0x4DBAC458) [12uS]
02115 : mplayer-altivec : FAIL = IsInteractive("PROGDIR:conf/input.conf")
02116 : mplayer-altivec : o.k. = IsFileSystem("PROGDIR:") [7uS]
02117 : MPlayer ARexx Process : 0 = FindSegmentStackSize("<untracked>") [15uS]
02118 : mplayer-altivec : DIR = ParentOfFH(0x16A2680E) "PROGDIR:conf/input.conf" [32uS]
02119 : mplayer-altivec : o.k. = ExamineFH("input.conf") [5uS]
02120 : mplayer-altivec : FAIL = Lock("PROGDIR:conf/4a2e2a.conf",SHARED) [23uS]
02121 : mplayer-altivec : FAIL = Open("https://cdn.lbryplayer.ifo",OLD) = [0x00000000] [45uS]
02122 : mplayer-altivec : FAIL = Open("https://cdn.lbryplayer.idx",OLD) = [0x00000000] [25uS]
02123 : mplayer-altivec : FAIL = Open("PROGDIR:conf/sub/cdn.lbryplayer.ifo",OLD) = [0x00000000] [19uS]
02124 : mplayer-altivec : FAIL = Open("PROGDIR:conf/sub/cdn.lbryplayer.idx",OLD) = [0x00000000] [16uS]
02125 : MPlayer ARexx Process : o.k. = [exec] OpenLibrary("arexx.class",0) [20uS]
02126 : MPlayer ARexx Process : FAIL = [exec] FindPort("MPLAYER.1") [5uS]
02127 : mplayer-altivec : o.k. = [exec] OpenLibrary("bsdsocket.library",3) [12uS]
02128 : Shell Process : FAIL = GetVar("_Title",0x55DDC60C,256,0x00000200) [5uS]
02129 : Shell Process : FAIL = GetVar("Echo",0x51493D38,32,0x00000200) [2uS]
02130 : Shell Process : FAIL = GetVar("OldRedirect",0x51493D38,32,0x00000200) [1uS]
02131 : Shell Process : FAIL = GetVar("KeepDoubleQuotes",0x51493D38,32,0x00000200) [2uS]
02132 : Shell Process : FAIL = GetVar("Interactive",0x51493D38,32,0x00000200) [2uS]
02133 : dos_appdir_server : o.k. = ExamineObject(0x6FBA8D78) [98uS]
02134 : dos_appdir_server : SetCurrentDir("<ZERO>")
02135 : dos_appdir_server : o.k. = Lock("ENVARC:AppDir",SHARED) [66uS]
02136 : dos_appdir_server : SetCurrentDir("ENVARC:AppDir")
02137 : dos_appdir_server : o.k. = ExamineObject(0x6FBA8D78) [94uS]
02138 : dos_appdir_server : SetCurrentDir("<ZERO>")
02139 : mplayer-altivec : SetCurrentDir("SYS:")
02140 : mplayer-altivec : <----- RunCommand(0x13E2D411 "DH1:Programs/Video/MickJT-MPlayer/mplayer-altivec",,"https://cdn.lbry
02141 : Background CLI : o.k. = GetVar("_ScriptLine",0x4F773DD0,40,0x00000200) [5uS]
02142 : Background CLI : FAIL = GetVar("Echo",0x4F773D38,32,0x00000200) [3uS]
02143 : Background CLI : FAIL = GetVar("OldRedirect",0x4F773D38,32,0x00000200) [2uS]
02144 : Background CLI : FAIL = GetVar("KeepDoubleQuotes",0x4F773D38,32,0x00000200) [2uS]
02145 : Background CLI : FAIL = GetVar("Interactive",0x4F773D38,32,0x00000200) [2uS]


Edited by ddni on 2020/7/15 12:43:41
_________________
AmigaOne X1000.
Radeon R9 270X

http://www.tinylife.org.uk/
   Report Go to top

Re: Stream lbry.tv on AmigaOS 4
Site Builder
Joined:
2006/12/2 23:57
From Athens/Dublin
Posts: 630
This shouldn't use the mplayer but ffplay. Check your cfg.py file and check the sPlayer to use ffplay. If you need example configuration, check the cfg.py.example file

   Report Go to top

Re: Stream lbry.tv on AmigaOS 4
Quite a regular
Joined:
2008/4/10 14:57
From Northern Ireland
Posts: 948
@walkero

I don't know why it is calling MPlayer.

# Configuration
# At this file you can change the behaviour of the scripts, by setting
# various parameteres, and most important the preferred video players
#

# Set this to True to enable autoplay of the video with your preffered video player. Set it to False to disable it.
autoplay = True

# Set this to True to get more info from the script during the execution. Set it to False to disable it.
verbose = True

# Set the path to your preffered video player. This is going to be used on recorded streams only.
# This is used only if autoplay is set to True.
vPlayer = "DH1:Programs/Video/MickJT-MPlayer/mplayer-altivec"
# Set the arguments that are going to be used with your preffered video player.
vPlayerArgs = "-quiet -really-quiet -forceidx -framedrop -cache 8192"

# Set the path to your preffered video player. This is going to be used mostly on live streams,
# but depending the network, might be used on recorder streams as well.
# This is used only if autoplay is set to True.
sPlayer = "C:ffplay"
# Set the arguments that are going to be used with your preffered streaming player.
sPlayerArgs = "-loglevel quiet -infbuf -skip_loop_filter all -skip_frame noref"

If I comment out vPlayer completely then I get this error:
Traceback (most recent call last):
File "WORK:Programs/Video/aiostreams/lbrytv.py", line 299, in <module>
main(sys.argv[1:])
File "WORK:Programs/Video/aiostreams/lbrytv.py", line 290, in main
cmnHandler.videoAutoplay(video, 'video')
File "WORK:Programs/Video/aiostreams/cmn.py", line 48, in videoAutoplay
player = cfg.vPlayer
AttributeError: 'module' object has no attribute 'vPlayer'

_________________
AmigaOne X1000.
Radeon R9 270X

http://www.tinylife.org.uk/
   Report Go to top

Re: Stream lbry.tv on AmigaOS 4
Site Builder
Joined:
2006/12/2 23:57
From Athens/Dublin
Posts: 630
@ddni
It seems that you do not have the latest v1.6.1. If you do something like the below, you will be able to see the version of the script.
lbrytv.py -h

   Report Go to top

Re: Stream lbry.tv on AmigaOS 4
Quite a regular
Joined:
2008/4/10 14:57
From Northern Ireland
Posts: 948
Ok I’ll check. I did get the 1.6.1 archive from github.

All fixed, deleted old folder and started fresh.
Thanks.


Edited by ddni on 2020/7/16 10:48:59
_________________
AmigaOne X1000.
Radeon R9 270X

http://www.tinylife.org.uk/
   Report Go to top





[Advanced Search]



Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project