dpurgin / harbour-callrecorder Goto Github PK
View Code? Open in Web Editor NEWA call recorder for SailfishOS
License: GNU General Public License v3.0
A call recorder for SailfishOS
License: GNU General Public License v3.0
Implement a feature to pick multiple numbers to black/white list from contacts
Hi,
Is there a way that we can save the recording with the contact name instead of the contact number?
In the UI it shows the contact name but when it's saved on the storage path it's saved as the contact number.
Thanks,
As reported by schturman on TJC:
I relocated to sdcard, all work ok, but if you delete recorded call from the app list it still leave
the file in my directory. Tried also with /home/nemo/folder.
Apart from showing contact number, show contact name while playing the recording
Ability to record calls from/to certain contacts disregarding others needed
If a call from an unknown number is recorded, the line with the duration, size and time of the call overlaps with the line where the number is in normal calls. I think adding a string "Unknown number" for calls like this, like in the Phone application, would probably fix it.
When I restart the phone o restart homescreen, daemon option is deactivated. It doesn't happen all of the time.
"Active" can be activated, "Automatic startup" cannot. After reboot "Active" option has to be manually ticked on.
Am I missing something or it is still work in progress?
Italian translation provided by Yuri Bongiorno
Seems to have something to do with contacts store but needs research
Calls from second simm do not get recorded at all. FIrst sim works fine.
As proposed by Valerij on TJC:
I want to suggest enother option to black/white list: record only unknown numbers. It is usefully to catch spammers :)
As reported by Schturman at openrepos:
Found a old bug in the v0.5.1-2, it again cause to dalvik microfone stop to work.
it change the Default source name to source.fake.sco and dont return to source.primary.
Hi,
I would like to know what is the default storage path by mistake I changed it. So now all the recording come into my music player.
Could you please help me with this?
Thanks,
As reported by pichlo on TMO:
I made a few test calls to the same number (the remainng credit check), then opened Call Recorder and deleted one from the list. I must add that the credit check calls were the only items on the list. The moment I deleted one, a big "No calls recorded yet" appeared in the middle of the screen
...
An example - I have 2 calls on the list, make a 3rd one (with Call Recorder open) and - "No calls recorded yet" appears. I delete one - so that 2 remain - and the top remaing one reacts to the tap but the bottom one doesn't. Or vice-versa.
The issue is 100% reproduced when deleting recordings one by one in Recording page. The placeholder appears if only one list item is left.
If I record voice call by headphone, when play it, the sound by me is abnormal, but others is ok
It seems that it somehow related to phone call events. Dunno whether it is caused by answering call, stopping call or maybe during call. A bit of diagnostis follows.
Hangs just one thread (see light weight process (thread) ID 4143):
$ ps -FLC harbour-callrecorderd
UID PID PPID LWP C NLWP SZ RSS PSR STIME TTY TIME CMD
nemo 3989 863 3989 0 9 91611 12632 0 Nov02 ? 00:01:20 /usr/bin/harbour-callrecorderd
nemo 3989 863 4010 0 9 91611 12632 1 Nov02 ? 00:00:00 /usr/bin/harbour-callrecorderd
nemo 3989 863 4141 0 9 91611 12632 1 Nov02 ? 00:00:16 /usr/bin/harbour-callrecorderd
nemo 3989 863 4143 3 9 91611 12632 0 Nov02 ? 01:56:34 /usr/bin/harbour-callrecorderd
nemo 3989 863 4144 0 9 91611 12632 0 Nov02 ? 00:00:01 /usr/bin/harbour-callrecorderd
nemo 3989 863 4145 0 9 91611 12632 0 Nov02 ? 00:00:00 /usr/bin/harbour-callrecorderd
nemo 3989 863 4146 0 9 91611 12632 1 Nov02 ? 00:00:00 /usr/bin/harbour-callrecorderd
nemo 3989 863 4189 0 9 91611 12632 0 Nov02 ? 00:00:04 /usr/bin/harbour-callrecorderd
nemo 3989 863 4259 0 9 91611 12632 0 Nov02 ? 00:00:00 /usr/bin/harbour-callrecorderd
It seems hanged thread constantly tries to read something:
$ strace -tt -p 4143 |& head -10
Process 4143 attached
23:26:04.652947 read(18, 0x4e4ffc58, 10) = -1 EAGAIN (Resource temporarily unavailable)
23:26:04.654900 read(18, 0x4e4ffc58, 10) = -1 EAGAIN (Resource temporarily unavailable)
23:26:04.655052 read(18, 0x4e4ffc58, 10) = -1 EAGAIN (Resource temporarily unavailable)
23:26:04.655236 read(18, 0x4e4ffc58, 10) = -1 EAGAIN (Resource temporarily unavailable)
23:26:04.655419 read(18, 0x4e4ffc58, 10) = -1 EAGAIN (Resource temporarily unavailable)
23:26:04.656334 read(18, 0x4e4ffc58, 10) = -1 EAGAIN (Resource temporarily unavailable)
23:26:04.656517 read(18, 0x4e4ffc58, 10) = -1 EAGAIN (Resource temporarily unavailable)
23:26:04.656670 read(18, 0x4e4ffc58, 10) = -1 EAGAIN (Resource temporarily unavailable)
23:26:04.656853 read(18, 0x4e4ffc58, 10) = -1 EAGAIN (Resource temporarily unavailable)
But I don't have any idea what it tries to read:
$ ls -l /proc/4143/fd/18
lr-x------ 1 nemo nemo 64 2015-11-04 23:00 /proc/4143/fd/18 -> pipe:[1770970]
Such situation happened to me 2 or 3 times. Really annoying to find 2 hours after a call that your device is suddenly almost out of charge.
P.S.: I'm still using 0.6.0 version, just learned there is newer release. But it does not look like 0.6.1 have related fixes.
E.g. microphone input to left channel and others voice to right channel.
It has been reported that Russian UI translation was not loaded with OS locale set to Russian, app locale set to "System". Explicit setting of app locale worked
Hi,
Can you please use the speex instead of the FLAC codec, it is far better at low bitrates because it is dedicated to voice recordings?
It is already available in QtMultimedia.
You can look at sailfish-recorder to see how it is done.
Hello,
Landscape mode would be useful so that the horizontal scroll bar can be longer, allowing finer grain fast-forwarding and rewinding.
Thanks Mr. Purgin for this awesome app,
Robin
Testing needed for Hebrew localization (https://www.transifex.com/kzdpurgin/harbour-callrecorder/language/he/)
As requested by raj_faisal2004 on openrepos:
i would like to ask for an option which would be very helpful i think. that is addition of SEARCH option
so that if i want to select a specific name/number's call recording then i can easily find all recordings
of the person/number and then carry on with the next option like deleting, listening etc
only number is show out, english dont have this problem
Hi,
I would like to request for a new feature in the application.
It would be nice if we can backup the recorded calls to a cloud storage like dropbox/onedrive and store it under year/month/data folders hierarchy.
In the upcoming update from jolla they are allowing the photos to be uploaded to dropbox/onedrive can the same be used for callrecorder as well?
Thanks,
Call Contacts application to add an unknown number. See call log of voicecall-ui as an example
Стал очень тихо записывать входящий сигнал, раньше было все в порядке, могло как-то обновление ОС повлиять?
Create and maintain a .nomedia file at storage location so that the tracker-miner wouldn't pick the recordings as media files
As reported by coderus on TMO:
Fatal error: nothing provides libarchive.so.12 needed by harbour-callrecorder-0.7.1-2.armv7hl
Ability to remove existing recordings needed
I have a recording that is 1 hour 15:55 mins in length. In the UI (both in the list and in the record view) 15:55 is shown as the length. The player slider shows the length correctly up to 59:59, after which the length starts again from zero, ie. hours seem to be ignored in the length.
as title
Hi there,
on latest sailfish os (and also before), I have discovered that approval for storage does not work.
Answering "remove" after a call makes the recording not appearing in the list of recordings indeed; but going to the storage location (with another app or terminal), I was not really pleased to see that actually all calls were recorded and dumped. This is very problematic for security and disk space. Users are not aware that all their calls are recorded and stored even if they answer "remove" after their privacy calls.
Please fix it!
Cheers,
chris.
Looks like Qt5.6 broke something:
harbour-callrecorderd: Tue Feb 14 14:07:39 2017: [0x01333990]: PageStack.qml:996: : file:///usr/lib/qt5/qml/Sailfish/Silica/PageStack.qml:996:13: QML Binding: Property '_belowTop' does not exist on ApprovalDialog.
harbour-callrecorderd: Tue Feb 14 14:07:39 2017: [0x01333990]: PageStack.qml:990: : file:///usr/lib/qt5/qml/Sailfish/Silica/PageStack.qml:990:13: QML Binding: Property '_exposed' does not exist on ApprovalDialog.
harbour-callrecorderd: Tue Feb 14 14:07:39 2017: [0x01333990]: PageStack.js:461: : file:///usr/lib/qt5/qml/Sailfish/Silica/PageStack.js:461: TypeError: Cannot call method 'connect' of undefined
Segmentation fault
Hi.
I have installed harbour-callrecorder 0.7.1-5 on my Sony Xperia, under SailfishOS version 2.1.3.5 (Kymijoki) and everything works as usual (I also have it installed in a Jolla1 and JollaC), except for the recordings:
Seems to me that there's something wrong with the recording sampling rate, resulting in recorded files with the audio reproduced very, very slowly :D
For a sample, you can use the file I attached at TMO here:
http://talk.maemo.org/showpost.php?p=1536643&postcount=160
Thanks in advance, and thank you for this fantastic application.
Regards.
Hi,
I was just reading the release notes for 2.0.2 Aurajoki they say that they have a native call recorder. I wanted to know if we can still use your app on that version or there will be a conflict?
Thanks,
Ability to enable/disable recording temporally/persistently needed
Ability to choose codec and file format needed
As reported by coderus on TMO:
[nemo@Sailfish ~]$ harbour-callrecorder-launcher.sh
-bash: /usr/bin/harbour-callrecorder-launcher.sh:
/bin/bash^M: bad interpreter: No such file or directory
I pretty often do systemctl --user restart lipstick
as it the fast way to reclaim RAM without full phone reboot (lots of services seems to leak memory). And after restart harbour-callrecorderd
becomes not running, so I used manually start it each time. Quite annoying.
Journalctl from lipstick restart:
мар 27 18:03:11 Jolla harbour-callrecorderd[10510]: harbour-callrecorderd: Sun Mar 27 18:03:11 2016: [0x01c3c1a8]: qwaylandeventthread.cpp:81: void QWaylandEventThread::checkError() const: The Wayland connection broke. Did the Wayland compositor die?
мар 27 18:03:11 Jolla ohmd[410]: *** resource_request: unregister 89
мар 27 18:03:12 Jolla kernel: mdp4_mixer_blend_setup: Error: no bg_pipe at mixer=0
мар 27 18:03:12 Jolla kernel: mipi_truly_otm9608a_lcd_off()
мар 27 18:03:12 Jolla kernel: mipi_truly_otm9608a_lcd_off()--
мар 27 18:03:12 Jolla systemd[861]: harbour-callrecorderd.service: main process exited, code=exited, status=1/FAILURE
мар 27 18:03:12 Jolla systemd[1]: Stopped Myriad Alien Dalvik.
мар 27 18:03:12 Jolla systemd[1]: Stopping Myriad Alien Dalvik Settings...
мар 27 18:03:12 Jolla systemd[861]: Unit harbour-callrecorderd.service entered failed state.
...
мар 27 18:03:13 Jolla harbour-callrecorderd[6332]: [D] QQmlDebuggingEnabler::QQmlDebuggingEnabler:1455 - QML debugging is enabled. Only use this in a safe environment.
мар 27 18:03:13 Jolla harbour-callrecorderd[6332]: [C] unknown:0 - Failed to create display (No such file or directory)
мар 27 18:03:13 Jolla systemd[861]: harbour-callrecorderd.service: main process exited, code=exited, status=1/FAILURE
мар 27 18:03:13 Jolla systemd[861]: Unit harbour-callrecorderd.service entered failed state.
There are a few more restarts in log and harbour-callrecorder.serivce
settles in failed state before wayland becomes available.
I found a workaround: after I've moved symlink to service file from ~/.config/systemd/user/user-session.target.wants
to ~/.config/systemd/user/post-user-session.target.wants
harbour-callrecorder.service
seems to start just fine on phone boot and on lipstick restart. So it seems tempting to write simple pull request to change target that wants the service.
However dependency of sound recording daemon on display availability (see logs above) seems odd and redundant. Is it possible to drop wayland dependency? I bet it is unused and getting rid of it would reduce daemon footprint.
I recently made my own port of SFOS 2.0.2.48 on CM12.1/Hammerhead.
Most of the things that I need work on my port but Call Recorder is one of the things that doesen't; not a surprise since I expect the HW differs somewhat from what we have on sbj-1
I would like your help in fixing this so that it works also on ported devices (at least Hammerhead)
Symptoms;
What I have checked already;
[nemo@Sailfish ~]$
[nemo@Sailfish ~]$ pacmd info | grep record
application.process.binary = "harbour-callrecorderd"
application.process.arg0 = "/usr/bin/harbour-callrecorderd"
application.name = "harbour-callrecorder"
application.process.binary = "harbour-callrecorderd"
application.process.arg0 = "/usr/bin/harbour-callrecorderd"
application.process.binary = "harbour-callrecorder"
application.icon_name = "harbour-callrecorder"
application.process.arg0 = "harbour-callrecorder"
voicecall-record: Call mode record (priority 0, available: no)
[nemo@Sailfish ~]$
As requested by clouseau at openrepos.net:
a feature request: log rotation - namely, an option to delete old recordings automatically on a number or date basis
Loaded: loaded
Active: failed (Result: start-limit)
Process: 29223 ExecStart =/usr/bin/harbour-callrecorderd (code=exited, status=255)
Main PID: 29223
As reported by Moritz Thiele on Facebook:
select all for batch delete operation removes only the entries in the UI / db but leaves the files intact.
Has always been like that for me, irrespective of the location on SD or nemo subdir. I checked the
folder permissions and everything is okay.
As proposed by HtheB on TMO:
Can we have an option that it asks before saving after each phone call?
So if you press no, it will delete file, otherwise it will save it. (So if somehow the message dissapairs,
it will still save the recording)
Doesn't mater if I update or do a fresh install, I always get the following error:
Error on file "/home/deploy/installroot/usr/share/applications/*.desktop": No such file or directory
warning: %post(harbour-callrecorder-0.7.1-5.armv7hl) scriptlet failed, exit status 1
Spacewise it might make sense to be able to re-encode older recordings with another codec.
Not really sure about ui, might be manual selection of recordings or select everything with (default encoder and cutoff date). Should be able to select the codec and it's settings.
Could be an automatic thing, possibly activated when some user-configurable amount of space is used by recordings.
nothing show inside apps
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.