• 1
  • 22
  • 23
  • 24(current)
  • 25
  • 26
  • 90
Release IPTV Recorder
Thanks for your reply!  One more question, if I enable "Use Task Scheduler on Windows", should I be able to see the scheduled task within the Task Scheduler?  I'm not able to find the task if so.
Reply
Is there a keyboard shortcut or a button or something that I can use to immediately start recording whatever I'm watching?
Reply
(2018-08-27, 20:07)purplehorseshoes Wrote: Thanks for your reply!  One more question, if I enable "Use Task Scheduler on Windows", should I be able to see the scheduled task within the Task Scheduler?  I'm not able to find the task if so.
 I can't guarantee that the Windows Task Scheduler code is working perfectly. I haven't fully tested it for a while.
What I tried to do was create tasks that weren't dependent on Kodi still running when the recording takes place.
So most of the task handling is offloaded to Task Scheduler.
I think you can still delete the jobs from within Maintenance but I'm not sure.
Reply
(2018-08-27, 20:10)purplehorseshoes Wrote: Is there a keyboard shortcut or a button or something that I can use to immediately start recording whatever I'm watching?
 Not in IPTV Recorder but there is in TV Guide Fullscreen.
Reply
(2018-07-13, 21:25)primaeval Wrote: If your Android device isn't routed it is going to be hard to find the binary ffmpeg from an Android app or apk.
The permissions prevent apps looking at each other's files
Just discovered this thread. What a great addon primaeval. I have everything set up and working fine on my Windows systems. But finally realized ffmpeg couldn't run on my android phone because it's not rooted. Reading through this thread I found a recent post with your comment above, and started to wonder if it may actually be possible to track down a binary version of ffmpeg that will execute without being put in that root \data\data folder. Does such a beast actually exist?

I was also wondering if you could add an option to disable a rule. There are news programs I'd like to record that air Mondays through Fridays, but not on weekends. It'd be nice to be able to disable them for those 2 days, and then re-enable them on Manday rather than have to delete and then reconfigure them again.

Amazing work yours as always p. Smile
Reply
(2018-09-01, 21:00)JQZ* Wrote:
(2018-07-13, 21:25)primaeval Wrote: If your Android device isn't routed it is going to be hard to find the binary ffmpeg from an Android app or apk.
The permissions prevent apps looking at each other's files
Just discovered this thread. What a great addon primaeval. I have everything set up and working fine on my Windows systems. But finally realized ffmpeg couldn't run on my android phone because it's not rooted. Reading through this thread I found a recent post with your comment above, and started to wonder if it may actually be possible to track down a binary version of ffmpeg that will execute without being put in that root \data\data folder. Does such a beast actually exist?

I was also wondering if you could add an option to disable a rule. There are news programs I'd like to record that air Mondays through Fridays, but not on weekends. It'd be nice to be able to disable them for those 2 days, and then re-enable them on Manday rather than have to delete and then reconfigure them again.

Amazing work yours as always p. Smile 
 Thanks. I'm pretty sure this works on an unrooted Android device. I just tried my xmltv Meld addon on a Nvidia Shield which does the same thing with busybox as ffmpeg and that worked.
The addon works within Kodi and has access to it's own data\data folder but no other processes.

I don't really want to mess around with days of the week schedules but if you enable that news program as a daily recording and it doesn't occur at that time at the weekends it should just record monday to friday.
Is that good enough?
Reply
(2018-09-01, 21:31)primaeval Wrote:  Thanks. I'm pretty sure this works on an unrooted Android device. I just tried my xmltv Meld addon on a Nvidia Shield which does the same thing with busybox as ffmpeg and that worked.
The addon works within Kodi and has access to it's own data\data folder but no other processes.
Are you suggesting that I could install your xmltv Meld addon and use some component of that to set in IPTV Recorder in the ffmpeg option and get recording working on my unrooted phone? Sorry. I'm not all that knowledgeable about most things Kodi.
Quote:I don't really want to mess around with days of the week schedules but if you enable that news program as a daily recording and it doesn't occur at that time at the weekends it should just record monday to friday.
Is that good enough? 
I could certainly use the rule as it is. Repeats of those programs air at different hours on the weekends. But it really wouldn't be a problem just to delete them. Just to be clear, I wasn't suggesting you create something to select specific days for a program to be recorded.  I just thought it might be a simple tweak to disable just the rule, and then re-enable it later. I've not looked at the files the addon creates yet to see if I could create a batch file that might achieve what I'm after.
Reply
I confused you about xmltv Meld. Ignore that.
I just tested IPTV Recorder on my unrooted Android Shield and it recorded fine in the default temp folder.
I could even watch the recording as it recorded.

Just do Record Daily for your news program and it should just record weekdays if they are at the same time Monday to Friday.
Check they are exactly at the same time.
Reply
(2018-09-01, 22:23)primaeval Wrote: I confused you about xmltv Meld. Ignore that.
I just tested IPTV Recorder on my unrooted Android Shield and it recorded fine in the default temp folder.
I could even watch the recording as it recorded.

Just do Record Daily for your news program and it should just record weekdays if they are at the same time Monday to Friday.
Check they are exactly at the same time.
Well I struggled with getting ffmpeg to work in android. I found an earlier post in this thread that seemed to be saying the phone needed to be rooted.  And when I saw these errors in the kodi.log, it seemed to be confirming that. I was guessing that error was due to an inability to write to any \data\data folder if it actually exists hidden somewhere.

Code:
02:04:17.489 T:18446744071996963120   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.OSError'>
                                            Error Contents: [Errno 8] Exec format error
                                            Traceback (most recent call last):
                                              File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/userdata/addon_data/plugin.video.iptv.recorder/jobs/ac2e524a-ac33-11e8-977e-9d57b890b082.py", line 6, in <module>
                                                p = subprocess.Popen(cmd, shell=False)
                                              File "/home/jenkins/workspace/Android-ARM/tools/depends/xbmc-depends/arm-linux-androideabi-android-21/lib/python2.7/subprocess.py", line 711, in __init__
                                              File "/home/jenkins/workspace/Android-ARM/tools/depends/xbmc-depends/arm-linux-androideabi-android-21/lib/python2.7/subprocess.py", line 1343, in _execute_child
                                            OSError: [Errno 8] Exec format error
                                            -->End of Python script error report<--
02:04:47.329 T:18446744072484572500 WARNING: CPeripheralBusAndroid: failed to update input device with ID 1 because it couldn't be found
If /home/jenkins/... exists on this phone, it's being hidden as a root path
Reply
I tested on Kodi 17.6 arm 64 on my shield.
Something with jenkins in usually implies a nightly build.
What's at the top of your kodi.log.
Mine is
Code:
20:36:56.128 T:149305660656  NOTICE: special://profile/ is mapped to: special://masterprofile/
20:36:56.128 T:149305660656  NOTICE: -----------------------------------------------------------------------
20:36:56.128 T:149305660656  NOTICE: Starting Kodi (17.6 Git:20171119-ced5097). Platform: Android ARM 64-bit
20:36:56.128 T:149305660656  NOTICE: Using Release Kodi x64 build
20:36:56.128 T:149305660656  NOTICE: Kodi compiled Nov 19 2017 by GCC 4.9.0 for Android ARM 64-bit API level 21 (API level 21)
20:36:56.128 T:149305660656  NOTICE: Running on NVIDIA SHIELD Android TV with Android 8.0.0 API level 26, kernel: Linux ARM 64-bit version 3.10.96-tegra
20:36:56.128 T:149305660656  NOTICE: FFmpeg version/source: ffmpeg-3.1-kodi
20:36:56.128 T:149305660656  NOTICE: 4 CPU cores available
20:36:56.128 T:149305660656  NOTICE: Product: foster_e, Device: foster, Board: unknown - Manufacturer: NVIDIA, Brand: NVIDIA, Model: SHIELD Android TV, Hardware: foster_e
20:36:56.130 T:149305660656  NOTICE: External storage path = /storage/emulated/0; status = ok
20:36:56.130 T:149305660656  NOTICE: ARM Features: Neon disabled
20:36:56.130 T:149305660656  NOTICE: special://xbmc/ is mapped to: /data/user/0/org.xbmc.kodi/cache/apk/assets
20:36:56.130 T:149305660656  NOTICE: special://xbmcbin/ is mapped to: /data/user/0/org.xbmc.kodi/cache/apk/assets
20:36:56.130 T:149305660656  NOTICE: special://xbmcbinaddons/ is mapped to: /data/app/org.xbmc.kodi-7izRBbn7d4vzticmXKpGpw==/lib/arm64
20:36:56.130 T:149305660656  NOTICE: special://masterprofile/ is mapped to: /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/userdata
20:36:56.130 T:149305660656  NOTICE: special://envhome/ is mapped to: /storage/emulated/0/Android/data/org.xbmc.kodi/files
20:36:56.130 T:149305660656  NOTICE: special://home/ is mapped to: /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi
20:36:56.130 T:149305660656  NOTICE: special://temp/ is mapped to: /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/temp
20:36:56.130 T:149305660656  NOTICE: special://logpath/ is mapped to: /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/temp
20:36:56.130 T:149305660656  NOTICE: The executable running is: /data/app/org.xbmc.kodi-7izRBbn7d4vzticmXKpGpw==/lib/arm64/libkodi.so
20:36:56.130 T:149305660656  NOTICE: Local hostname: localhost
20:36:56.130 T:149305660656  NOTICE: Log File is located: /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/temp//kodi.log
Reply
I get that error right when the recording starts. I was assuming it had to do with the android version of ffmpeg I unzipped to a folder on the SD card download folder trying to be copied to \user\user. I think I have the right version that matches my arm cpu.  I've tried setting up both versions though, and have gotten the same error message.
Reply
Here's the top:

Code:
01:52:53.321 T:18446744072079030576  NOTICE: special://profile/ is mapped to: special://masterprofile/
01:52:53.321 T:18446744072079030576  NOTICE: -----------------------------------------------------------------------
01:52:53.321 T:18446744072079030576  NOTICE: Starting Kodi (17.6 Git:20171114-a9a7a20). Platform: Android ARM 32-bit
01:52:53.321 T:18446744072079030576  NOTICE: Using Release Kodi x32 build
01:52:53.321 T:18446744072079030576  NOTICE: Kodi compiled Nov 14 2017 by GCC 4.9.0 for Android ARM 32-bit API level 21 (API level 21)
01:52:53.321 T:18446744072079030576  NOTICE: Running on samsung SM-G550T2 with Android 6.0.1 API level 23, kernel: Linux ARM 32-bit version 3.10.9-8180604
01:52:53.326 T:18446744072079030576  NOTICE: FFmpeg version/source: ffmpeg-3.1-kodi
01:52:53.327 T:18446744072079030576  NOTICE: Host CPU: ARMv7 Processor rev 3 (v7l), 4 cores available
01:52:53.327 T:18446744072079030576  NOTICE: Product: on5ltetmowal, Device: on5ltetmo, Board: universal3475 - Manufacturer: samsung, Brand: samsung, Model: SM-G550T2, Hardware: universal3475
01:52:53.333 T:18446744072079030576  NOTICE: External storage path = /storage/emulated/0; status = ok
01:52:53.333 T:18446744072079030576  NOTICE: ARM Features: Neon enabled
01:52:53.333 T:18446744072079030576  NOTICE: special://xbmc/ is mapped to: /data/user/0/org.xbmc.kodi/cache/apk/assets
01:52:53.333 T:18446744072079030576  NOTICE: special://xbmcbin/ is mapped to: /data/user/0/org.xbmc.kodi/cache/apk/assets
01:52:53.333 T:18446744072079030576  NOTICE: special://xbmcbinaddons/ is mapped to: /data/app/org.xbmc.kodi-1/lib/arm
01:52:53.334 T:18446744072079030576  NOTICE: special://masterprofile/ is mapped to: /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/userdata
01:52:53.334 T:18446744072079030576  NOTICE: special://envhome/ is mapped to: /storage/emulated/0/Android/data/org.xbmc.kodi/files
01:52:53.334 T:18446744072079030576  NOTICE: special://home/ is mapped to: /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi
01:52:53.334 T:18446744072079030576  NOTICE: special://temp/ is mapped to: /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/temp
01:52:53.334 T:18446744072079030576  NOTICE: special://logpath/ is mapped to: /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/temp
01:52:53.334 T:18446744072079030576  NOTICE: The executable running is: /data/app/org.xbmc.kodi-1/lib/arm/libkodi.so
01:52:53.334 T:18446744072079030576  NOTICE: Local hostname: localhost
01:52:53.335 T:18446744072079030576  NOTICE: Log File is located: /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/temp//kodi.log
01:52:53.335 T:18446744072079030576  NOTICE: -----------------------------------------------------------------------
01:52:53.346 T:18446744072079030576  NOTICE: load settings...
01:52:53.396 T:18446744072079030576   DEBUG: CSettings: loaded settings definition from special://xbmc/system/settings/settings.xml
01:52:53.409 T:18446744072079030576 WARNING: CSettingInt: unknown options filler "audiocdactions" of "audiocds.autoaction"
01:52:53.442 T:18446744072079030576   DEBUG: CSettings: loaded settings definition from special://xbmc/system/settings/android.xml
01:52:53.452 T:18446744072079030576  NOTICE: Float is supported
01:52:53.453 T:18446744072079030576   DEBUG: AESinkAUDIOTRACK - 32000 supported
01:52:53.453 T:18446744072079030576   DEBUG: AESinkAUDIOTRACK - 44100 supported
01:52:53.454 T:18446744072079030576   DEBUG: AESinkAUDIOTRACK - 48000 supported
01:52:53.454 T:18446744072079030576   DEBUG: AESinkAUDIOTRACK - 88200 supported
01:52:53.455 T:18446744072079030576   DEBUG: AESinkAUDIOTRACK - 96000 supported
01:52:53.455 T:18446744072079030576   DEBUG: AESinkAUDIOTRACK - 176400 supported
01:52:53.456 T:18446744072079030576   DEBUG: AESinkAUDIOTRACK - 192000 supported
01:52:53.472 T:18446744072079030576  NOTICE: Found 1 Lists of Devices
01:52:53.472 T:18446744072079030576  NOTICE: Enumerated AUDIOTRACK devices:
01:52:53.472 T:18446744072079030576  NOTICE:     Device 1
01:52:53.473 T:18446744072079030576  NOTICE:         m_deviceName      : AudioTrack
01:52:53.473 T:18446744072079030576  NOTICE:         m_displayName     : android
01:52:53.473 T:18446744072079030576  NOTICE:         m_displayNameExtra: audiotrack
01:52:53.473 T:18446744072079030576  NOTICE:         m_deviceType      : AE_DEVTYPE_HDMI
01:52:53.473 T:18446744072079030576  NOTICE:         m_channels        : FL,FR,FC,LFE,SL,SR,BL,BR,BC,BLOC,BROC
01:52:53.473 T:18446744072079030576  NOTICE:         m_sampleRates     : 32000,44100,48000,88200,96000,176400,192000
01:52:53.473 T:18446744072079030576  NOTICE:         m_dataFormats     : AE_FMT_S16LE,AE_FMT_FLOAT,AE_FMT_RAW
01:52:53.473 T:18446744072079030576  NOTICE:         m_streamTypes     : No passthrough capabilities
01:52:53.495 T:18446744072079030576   DEBUG: CSkinSettings: no <skinsettings> tag found

Reply
Are you sure you've got a 32bit ffmpeg?
You could try running ffmpeg in an adb shell or an app like Termux to make sure it's not that.

Have you got "enable hidden files" turned on in Kodi?
Reply
You could try here too:
https://github.com/Khang-NT/ffmpeg-binary-android
Reply
I think this is the one for arm v7 neon
https://github.com/Khang-NT/ffmpeg-binar...ll.tar.bz2
Reply
  • 1
  • 22
  • 23
  • 24(current)
  • 25
  • 26
  • 90

Logout Mark Read Team Forum Stats Members Help
IPTV Recorder4