maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   Personal Ringtones (https://talk.maemo.org/showthread.php?t=95875)

Schturman 2016-02-08 14:51

Re: [v0.3.1] Personal Ringtones
 
Quote:

Originally Posted by coderus (Post 1498182)
Schturman, "Sounds and Ambience settings will have no effect." means it cant use your ringtone from settings, only one set in Personal Ringtones as default ringtone.

Ahhh, now I understend.... Thanks :)
Maybe you can add option to see also ambiences ringtones ? Not only audio file from sd card or from /home/nemo ?
Or maybe you can do it variable and when ambience changed also Default ringtone will be changed ?
Pleeeease :o

P.S. all this settings saved in some text file that can be edited manually ?

coderus 2016-02-08 17:21

Re: [v0.3.1] Personal Ringtones
 
you can check source code in github :)
settings are saved in dconf /apps/personalRingtones

i can probably add list of ringtones from abmiences source to selector.

Schturman 2016-02-08 19:18

Re: [v0.3.1] Personal Ringtones
 
Quote:

Originally Posted by coderus (Post 1498200)
you can check source code in github :)
settings are saved in dconf /apps/personalRingtones

i can probably add list of ringtones from abmiences source to selector.

Thanks, but I'm not really understand it in your code, sorry :(
I'm tried to read what default ringtone for example: dconf read /apps/personalRingtones/default
but it show nothing...

Can you help me please, how to read and rewrite default ringtone via dconf command ?
I want to update for myself my "autoambience" package with dependencies to your "Personal ringtone" package. When every time that ambience will be changed, script also will send command something like: dconf write /apps/personalRingtones/default-ringtone /bla/bla/myringtone.wav to set ringtone from current ambience.
Please :o

coderus 2016-02-08 19:59

Re: [v0.3.1] Personal Ringtones
 
/apps/personalRingtones/numbers/default

Schturman 2016-02-08 20:16

Re: [v0.3.1] Personal Ringtones
 
Quote:

Originally Posted by coderus (Post 1498215)
/apps/personalRingtones/numbers/default

Cool, thank you !

Schturman 2016-02-08 20:22

Re: [v0.3.1] Personal Ringtones
 
Hmmm.. If I want to rewrite new one, I did this for example:
Code:

dconf write /apps/personalRingtones/numbers/default /usr/share/ambience/ambience-black/sounds/black-ringtone.mp3
but I get error :confused:
What the correct way to do this ?
Thanks

P.S. Fixed it :D
Code:

dconf write /apps/personalRingtones/numbers/default "'/usr/share/ambience/ambience-black/sounds/black-ringtone.mp3'"

coderus 2016-02-08 20:28

Re: [v0.3.1] Personal Ringtones
 
dconf write /apps/personalRingtones/numbers/default "'/usr/share/ambience/ambience-black/sounds/black-ringtone.mp3'"

Schturman 2016-02-08 20:29

Re: [v0.3.1] Personal Ringtones
 
Quote:

Originally Posted by coderus (Post 1498222)
dconf write /apps/personalRingtones/numbers/default "'/usr/share/ambience/ambience-black/sounds/black-ringtone.mp3'"

Yep, already fixed it. Thank you very much ! :)

Schturman 2016-02-09 11:27

Re: [v0.3.1] Personal Ringtones
 
Working perfectly from my autoambience! Instead dependencies, I added checking command if Personal ringtone installed and if yes it will rewrite the same ringtone as in current ambience.
Andrey, thank you very much! :)

Mara 2017-11-23 21:35

Re: [v0.3.1] Personal Ringtones
 
Waking up old thread... :o

Anyone using this with Sailfish X (Sony Xperia X)? It seems to install fine and I can add phone numbers (using international format) and audio files successfully from the Settings GUI as I verified them getting into dconf database using dconf read in terminal. The default ringtone plays even for contacts that I have set custom ringtone.

I tried stopping the Alien Dalvik but it didn't fix the issue.

Or is there some new/better way to get custom ringtones for Sailfish that I'm not aware?

EDIT: Seems that if I omit the initial "+" from the phone number it works. However, once you have received a call from a contact that is in the personal ringtone list, and I go back to the screen where the Personal ringtones are configured, it had replaced the contact name with a number that is not the actual phone number! (It still starts with a 1 but everything else is completely different and is one digit shorter than real phone number.) But if you check those entries with dconf tool they are all showing correct phone number? :confused:

coderus 2019-11-01 21:13

Re: [v0.3.1] Personal Ringtones
 
Update, update, update!

https://openrepos.net/content/coderu...onal-ringtones

I need svg icons and translations for this app.

mosen 2019-11-02 10:30

Re: [v0.3.1] Personal Ringtones
 
Quick shot here thrown together from the sfos icon reference.

The phone handle is the outlined icon-l-answer to reflect that it is kind of a settings option. The notes are abbreviated from the stock icon-m-file-audio.

Optimized 6,9kb svg:
https://mosushi.de/misc/sfos-icons/p...l-ringtone.svg

86x86px export:
https://mosushi.de/misc/sfos-icons/p...l-ringtone.png

In line with other icons
https://mosushi.de/misc/sfos-icons/p...gtone-grid.png

coderus 2019-11-04 15:34

Re: [v0.3.1] Personal Ringtones
 
1.1.0 https://openrepos.net/content/coderu...onal-ringtones
Important contacts to always ring
Random ringtones for fun
UI reworked, new translations are needed!
Application icon is coming in nancext release
Added more flips

coderus 2019-11-05 10:24

Re: Personal Ringtones
 
v1.2.0
New app icon by mosen
Old app icon by Ancelad
Icons for menu elements
Settings for matching digits
Fetched translations

coderus 2019-11-06 09:05

Re: Personal Ringtones
 
v1.2.1
Fetched trnslaations
Fixed bug

coderus 2019-11-08 09:48

Re: Personal Ringtones
 
v1.2.3
Fixed contact picker for SFOS < 3.1
Fetched translations

Please review translations and translations teams in transifex. I removed all languages and translators from languages which are not present in sfos and created all available languages.

eson 2019-11-08 12:22

Re: Personal Ringtones
 
There's no translations (except ru) in the rpm.

coderus 2019-11-08 15:32

Re: Personal Ringtones
 
Oops, fixed!


All times are GMT. The time now is 23:07.

vBulletin® Version 3.8.8