Thaodan | r0kk3rz: didn't the media player already use tracker? | 00:51 |
---|---|---|
r0kk3rz | it does | 00:51 |
r0kk3rz | but it reads it into an internal grillo database on startup | 00:51 |
Thaodan | The most important thing is to properly tag music | 00:51 |
Thaodan | hm that doesn't make much sense from the outside | 00:52 |
r0kk3rz | https://wiki.gnome.org/Projects/Grilo | 00:52 |
r0kk3rz | the idea was that tracker is merely one source | 00:52 |
r0kk3rz | but the app doesnt support many other sources, so its kinda overkill | 00:53 |
Thaodan | ah nice idea | 00:53 |
Thaodan | but then cache that at least | 00:53 |
Thaodan | then its fine | 00:53 |
r0kk3rz | yeah | 00:53 |
r0kk3rz | then you have a cache invalidation problem | 00:53 |
r0kk3rz | but yeah, it could be better than regenerating the whole thing each time | 00:54 |
Thaodan | hm one issue after another xD | 00:54 |
r0kk3rz | in sirensong i use tracker directly and let it sort out tags and updating itself | 00:54 |
r0kk3rz | since thats its job | 00:55 |
Thaodan | Good that the nightmare of tracker on Meego is over | 00:55 |
Thaodan | that was far worse | 00:55 |
*** zbenjamin_ is now known as zbenjamin | 01:14 | |
*** frinring_ is now known as frinring | 02:25 | |
haasn | r0kk3rz: not sure what you mean by 'organize', I have a big directory full of inconsistently named folders, some with subfolders; so some sort of 'library'-type functionality is crucial, beyond that I'm not sure what differences you're looking for | 04:38 |
haasn | in terms of playback I like to queue up albums but I also like having simple playlist management (e.g. say I want to play a song next rather than adding it to the end of the play queue) | 04:39 |
haasn | seems like unplayer has some unfortunate limitations | 04:58 |
haasn | it always groups albums by artist, rather than by album | 04:58 |
haasn | so albums by various artists end up split up! | 04:59 |
haasn | I also can't seem to re-order the queue, or queue files after the current playing song | 04:59 |
haasn | hmm seems unplayer also does not support replaygain or gapless | 05:07 |
bionade24 | haasn: Then implement the feature if you think gapless is important | 05:33 |
bionade24 | Hi, when I try to edit something with vim, everything is read-only. How can I fix this? | 05:33 |
haasn | given how much things seem to be missing in every other player I think easiest solution is to start with mpd/smpc and add the one thing that player is missing (easy volume control) | 05:44 |
haasn | where can I find documentation for whatever SailfishOS APIs this stuff is using? | 05:46 |
bionade24 | haasn: For a command line program it's like on desktop Linux. No special APIs, same APIs as on desktop Linux | 05:51 |
haasn | well I mean it has to be interfacing with SailfishOS _somehow_ in order for e.g. playback controls to show up on the lock screen | 05:52 |
bionade24 | haasn: Look into the source code, the silica doku would be here if you need it: https://sailfishos.org/develop/docs/silica/ | 05:54 |
haasn | hmm staring at https://git.sailfishos.org/mer-core/lipstick/tree/master/src/volume it seems to be hooking things up to com.Meego.MainVolume2 somehow which is weird because I can't find hits for that dbus path in unplayer or its dependencies | 06:05 |
haasn | then again I can't even find where in the source code of unplayer it actually _plays audio_ | 06:09 |
haasn | Oooh, I think I found the solution | 06:21 |
haasn | So looking more closely at https://wiki.merproject.org/wiki/Nemo/Audio it seems to group everything into the two media roles "phone" and "x-maemo" | 06:22 |
haasn | only the latter of which is controlled by the media buttons | 06:22 |
haasn | but because mpd sets its pulse media role to "music" explicitly (rather than leaving it default), it ends up not being controlled by the sailfishos volumecontrol thing | 06:23 |
haasn | I solved this by commenting out the line that sets the pulseaudio role from the mpd source code and recompiling/reinstalling it | 06:23 |
haasn | Now it infers the (default) "x-maemo" which allows volume control to work for mpd as well! | 06:23 |
*** svartoyg_afk is now known as svartoyg | 07:25 | |
bionade24 | Hi, when I try to edit something with vim, everything is read-only. How can I fix this? | 08:12 |
attah | everything, or everything interesting? | 08:13 |
bionade24 | attah: everything. root or nemo doesn't matter. I already deleted /etc/vimrc, but didn't helped | 08:14 |
bionade24 | attah: And highlighting doesn't work, too | 08:14 |
attah | hmm, i don't know much about vi... but enough to now have tested that i don't have that issue | 08:16 |
attah | or well, for the vi that ships, maybe that's not the same | 08:17 |
bionade24 | attah: I installed vim-enhanced, but the package is from jolla, too. | 08:18 |
attah | okay, i did that too now, works as expected | 08:20 |
attah | any .vimrc or whatever? | 08:21 |
bionade24 | attah: No, I don't have any vimrc file. find: **/**/*vimrc: No such file or directory | 08:23 |
bionade24 | attah: vi itself has the same problem, can't force write at all | 08:24 |
attah | strange | 08:24 |
bionade24 | attah: Always tells me the files are r-o but that's not true | 08:25 |
attah | assuming you didn't mess with their config at all...? did it ever work? | 08:25 |
attah | the -R flag to them would probably do that | 08:26 |
bionade24 | attah: Syntax highlighting did never, vim yes. | 08:26 |
attah | did you install more syntax highlighting or something? | 08:26 |
bionade24 | attah: Yes, I installed vim-enhanced but removed it now. vi has the same problem. | 08:27 |
attah | that's a "no" as far as i understand though | 08:28 |
attah | i meant dropping in files in config dirs etc | 08:28 |
bionade24 | attah: Yes, I haven't done anything | 08:28 |
attah | odd | 08:29 |
attah | and is survives reboots? | 08:29 |
bionade24 | attah: Never had boot problems. Vim is my only problem. Will make a backup and remove all vim stuff | 08:31 |
attah | That's not what i meant... i just asked if the issue persists after a reboot | 08:35 |
attah | but seems i can't spell :) is->it | 08:36 |
attah | On a completely other note... i'm trying to build a share plugin, but can't even get to building an existing one | 08:40 |
attah | Tried https://github.com/monich/sailfish-qrshare/tree/master/shareplugin and getting "Could not find qmake spec 'default'" | 08:40 |
attah | Also "Project ERROR: nemotransferengine-qt5 development package not found" | 08:41 |
attah | sfdk tells it more like "No provider of 'pkgconfig(nemotransferengine-qt5)' found." | 08:44 |
bionade24 | attah: Pretty sure. Vim was flawky for me right from the beginning | 08:49 |
attah | ok, hope some veteran vim user will see it and sort you out | 08:50 |
*** Ischwitch is now known as Ingvix | 08:51 | |
bionade24 | attah: Maybe you need some external repo for your package or it was removed by jolla | 08:59 |
attah | probably not external, maybe renamed or updated somehow... | 09:00 |
attah | but the equivalent functionality should be available | 09:00 |
bionade24 | attah: Try to find the package and harcode it instead of relying on pkgconfig | 09:01 |
attah | how would i do that? everything is so hidden in qt, and i'm not really up on how pkgconfig actully works to start with | 09:03 |
attah | i have also assumed that error about the adaptation0 repo not being found is ok for a build engine... but maybe this is where i should be digging | 09:05 |
attah | anyone else seeing this with "sfdk engine exec sudo zypper ref"? | 09:08 |
bionade24 | attah: Nemo things aren't part of qt, they're own packages. | 09:08 |
attah | i still can't understand the qt build system that hides them :/ | 09:09 |
bionade24 | attah: No the adaption0 repo can be ignored | 09:09 |
attah | ok :) | 09:09 |
bionade24 | attah: You can't understand qmake or what do you mean? | 09:10 |
bionade24 | attah: Don't try to build with qmake, build with .spec file for the rpm | 09:10 |
bionade24 | attah: With qmake directly | 09:11 |
attah | to me the .pro file is still the entry point to the project, however misguided that may be | 09:11 |
attah | i don't even see a spec file | 09:11 |
bionade24 | attah: It's in the rpm dir | 09:12 |
Nico[m] | If you don't add your dependencies to the spec/yaml, you will have to install everything manually, which sucks :D | 09:12 |
bionade24 | attah: If you run sfdk build it should use rpmbuild | 09:12 |
bionade24 | Nico[m]: The .spec isn't from him it's from the project | 09:12 |
bionade24 | Nico[m]: And pkgconfig can't resolve the entries in the .spec file probably | 09:13 |
attah | right.. i have the project set up wrong in qt creator.. but sfdk is pointing to the right place... and yes.. just trying to replicate some know working example | 09:13 |
Nico[m] | bionade24: That would be weird, since spec files or at least the yaml file, that generates the spec file, are intendes to solve exactly that | 09:14 |
bionade24 | Nico[m]: I guess the package that can't be resolved isn't available anymore. | 09:16 |
attah | nah, the app i'm trying to build was updated just 16 days ago | 09:17 |
attah | and made by someone at jolla | 09:17 |
Nico[m] | Maybe the package doesn't resolve yet? | 09:17 |
*** frinring_ is now known as frinring | 09:18 | |
attah | tried building another similar project from 5 years ago, same problem | 09:19 |
Nico[m] | What are the commands you are using to build it? | 09:20 |
attah | sfdk build | 09:21 |
attah | since it is super opaque, i don't know what else i'd even look at :/ | 09:21 |
Nico[m] | Is that equivalent to the mb2 commands? | 09:23 |
attah | i have no idea whatsoever | 09:23 |
attah | (since i can't fins any docs on what it is) | 09:23 |
Nico[m] | Maybe try building it with mb2? Never heard of the sfdk command :D | 09:23 |
attah | how do even run mb2, and what is it? | 09:23 |
attah | i have seen it, but never used | 09:24 |
Nico[m] | Well it's how you use the sailfish build engine | 09:24 |
Nico[m] | Usually you invoke it via mb2 -t <sailfish version> build | 09:25 |
attah | up until sfdk i only really pressed the big green button in the IDE, as that was all that was documented | 09:25 |
Nico[m] | But you need to have the project in your working directory of the build engine, afaik | 09:25 |
Nico[m] | I usually use it via docker | 09:26 |
attah | i have the new docker build thing installed | 09:26 |
Nico[m] | Since that uses all my cores and RAM as needes | 09:26 |
bionade24 | Nico[m]: Yeah sfdk build is the new wrapper to the sb2/mb2 commands | 09:26 |
Nico[m] | Oh, I see | 09:26 |
bionade24 | attah: sfdk build is fine and should work. It's just relatively new | 09:26 |
Nico[m] | I somehow missed that :D | 09:27 |
bionade24 | Nico[m]: You can use docker now as backend of the sfdk tool, too. | 09:27 |
attah | i basically missed mb2, don't feel bad ;) | 09:27 |
Nico[m] | So I can drop my stupid build commands here: https://nheko.im/nheko-reborn/spoon nice | 09:27 |
bionade24 | Nico[m]: https://blog.jolla.com/sailfish-sdk-3-0-is-now-available/ That the Blogpost about it | 09:29 |
attah | Nico[m]: it too throw med loads of missing providers and pkgconfig issues, but apart from that, it appears to "work" | 09:29 |
Nico[m] | :D | 09:30 |
bionade24 | attah: Will try to build the package | 09:30 |
Nico[m] | Thanks, I'll read about it now and will try it out for my project :3 | 09:30 |
bionade24 | attah: For me the project builds fine | 09:48 |
attah | bionade24: which one? | 09:49 |
attah | with docker? | 09:49 |
bionade24 | attah: I have virtualbox but backend shouldn't matter I use the sfdk tool | 09:49 |
bionade24 | attah: Could you please paste the output to bpaste.net? | 09:50 |
attah | https://bpa.st/KXAQ | 09:51 |
attah | i'll reinstall the SDK just because | 09:52 |
bionade24 | attah: You have the latest build target and executed zypper refresh | 09:52 |
bionade24 | attah: Reinstallung probably won't help | 09:52 |
attah | sfdk config target=SailfishOS-3.3.0.16-armv7hl | 09:52 |
attah | sfdk engine exec sudo zypper refresh | 09:53 |
bionade24 | attah: You could only try to reinstall the build targets, the rest doesn't need to be reinstalled | 09:54 |
bionade24 | attah: That's how it should look: https://bpa.st/HKMA | 09:56 |
attah | hmm, seems i accidentally git the virtualbox one now | 09:58 |
bionade24 | attah: What do you mean with that? | 10:01 |
attah | i unchecked all build targets... applied, then checked latest...3.3.0.16 and applied | 10:02 |
attah | now sfdk build does lots of vbox stuff | 10:02 |
bionade24 | attah: You have to start the engine first | 10:03 |
attah | i did, from the ide | 10:03 |
attah | docker start sailsdk | 10:04 |
attah | Error response from daemon: No such container: sailsdk | 10:04 |
bionade24 | attah: WTF have you done? Are you using docker? | 10:04 |
bionade24 | attah: Or have u fucked up your config? | 10:04 |
attah | i wish i knew... the maint tool desn't exactly tell you what it does | 10:05 |
attah | is it the ea release that is docker? | 10:05 |
attah | i can't find the announcement post because i'm stupid | 10:05 |
Nico[m] | No, you can get all targets as docker | 10:06 |
bionade24 | attah: The error seems like it tries to use docker. All targets should work with all backend | 10:06 |
Nico[m] | The first question it asks you is if you want docker images or not | 10:06 |
attah | it? | 10:06 |
Nico[m] | The installer | 10:06 |
Nico[m] | You can't change it in the maintenance tool | 10:07 |
attah | well, i did select docker when i installed | 10:07 |
bionade24 | attah: Have you tried to use docker or VBox in the installation process | 10:07 |
attah | and i had it working | 10:07 |
attah | but now with reinstalling from maint, it gives me vbox apparently | 10:07 |
bionade24 | attah: Saidly I don't know how the docker integration works and if it installs the docker image correctly | 10:08 |
attah | screw it, uninstalling | 10:08 |
bionade24 | attah: Pobably the best. But delete the config files under ~/.config/, too | 10:08 |
bionade24 | attah: Just the Sailfish ones, of course !!!! | 10:09 |
attah | Also found this https://together.jolla.com/question/227590/docker-build-engine-not-possible-to-install-dependencies/ | 10:10 |
bionade24 | attah: .config/SailfishSDK | 10:11 |
attah | yeah | 10:11 |
bionade24 | attah: Did it help? | 10:11 |
attah | In the middle of reinstalling | 10:12 |
attah | still same error after reinstall... | 10:16 |
attah | maybe i don't understand what "login to target" is in docker | 10:19 |
attah | i did: sfdk engine exec sudo rm -rf /home/.zypp-cache/* | 10:19 |
attah | +/- sudo | 10:19 |
bionade24 | attah: sfdk engine exec zypper list | 10:20 |
bionade24 | attah: the problem is that I don't know if docker still has the sb2 environment under the hood or not | 10:21 |
bionade24 | attah: sfdk engine exec zypper repos | 10:21 |
attah | https://bpa.st/255A | 10:22 |
bionade24 | attah: sfdk exec zypper install libnemotransferengine-qt5-devel | 10:25 |
attah | sfdk engine exec sudo zypper install libnemotransferengine-qt5-devel | 10:26 |
attah | No provider of 'libnemotransferengine-qt5-devel' found. | 10:26 |
attah | is "engine" wrong here? | 10:26 |
bionade24 | attah: Nope sorry forgot it. But this should work. Either you try to use virtualbox or need help from someone experienced with the docker backend. I guess the SDK maintanance tool never pruned the docker layers and the issue is still in there | 10:28 |
bionade24 | attah: https://bpa.st/N2TA | 10:29 |
attah | maybe coderus is around? | 10:29 |
Nico[m] | Hm, you could uninstall it and remove the docker layers manually, I guess? | 10:30 |
bionade24 | attah: Last try I could offer with docker: Uninstall the build targets, close it, run docker image prune, install the target | 10:31 |
attah | Nico[m]: that's all greek to me | 10:31 |
attah | bionade24: will try | 10:31 |
Nico[m] | attah: Basiacally what bionade24 said | 10:32 |
attah | applications not accepting simply -h needs to be taken out back and shot | 10:32 |
bionade24 | attah: sfdk --help works | 10:32 |
attah | yes, but that's 4 characters more | 10:33 |
bionade24 | attah: -h sometimes doesn't mean help but human, e.g df -h, free -h, du -sh | 10:33 |
bionade24 | attah: the real sad thing is that sfdk doesn't have a man page. | 10:34 |
attah | which is basically as bad as e.h. ms Outlook not using ctrl-f for find, but forward | 10:34 |
bionade24 | attah: But sfdk is pretty new hopefully it will get one | 10:34 |
attah | well, it sure insists on paginated help like a man page | 10:34 |
bionade24 | attah: No, because -h for human is older than -h for help | 10:34 |
bionade24 | attah: Posix can suck ;) | 10:35 |
attah | i'm not saying remove --help, and human is just annoying, but fine | 10:35 |
attah | it is for those that just choose to complain about -h and not do something useful | 10:36 |
bionade24 | attah: Yeah taht's said. But always try man <command> first it's better anyway | 10:36 |
attah | docker reclaimed 0B of space :( | 10:38 |
bionade24 | attah: Show me the output of docker images | 10:38 |
attah | only sailfish-os-build-engine, now that i installed it | 10:39 |
attah | but, none the less, now it works | 10:39 |
bionade24 | attah: Ok so docker prune helped. Weird | 10:40 |
attah | yup | 10:40 |
attah | well, pkgconfig works, there are new errors :P | 10:40 |
bionade24 | attah: Maybe some overlayfs issue. | 10:40 |
bionade24 | attah: I can't really tell without looking into the sdk maintanance docker code | 10:41 |
Nico[m] | Heh, I can't get the sailfish sdk to work at all :D | 11:17 |
bionade24 | Nico[m]: :( | 11:24 |
Nico[m] | Somehow the ssh in the build engine is completely broken after installing it | 11:25 |
* bionade24 seems to be the only one without problems | 11:25 | |
Nico[m] | sshd wasn't even running :D | 11:25 |
bionade24 | Nico[m]: Docker based doesn't need ssh probably | 11:26 |
bionade24 | Nico[m]: Use "sfdk engine exec bash" instead | 11:26 |
Nico[m] | Well, the "sfdk build" command complains about ssh | 11:27 |
bionade24 | Nico[m]: If sfdk uses docker exec -it underneath | 11:27 |
bionade24 | Nico[m]: Guessed it uses docker commands instad of ssh ^ | 11:28 |
Nico[m] | No, that command also complains about ssh :D | 11:28 |
Nico[m] | After I started it manually using docker exec, it is now complaining about missing authorized keys .-. | 11:29 |
bionade24 | Nico[m]: :( I just stick with Virtualbox I guess. Try to regenerat your ssh keys (option in qtcreator settings) | 11:30 |
Nico[m] | VirtualBox breaks to often for me | 11:31 |
bionade24 | Nico[m]: It never did and if docker is flawky I'll stick with it until it works | 11:31 |
Nico[m] | The generate command just complains about the file already existing... I'll just delete it | 11:31 |
bionade24 | I now have to resize my root partition to finally make the 3.3 update :( | 11:32 |
bionade24 | Why does Jolla make the root partition only 2.4G large and why are all package manager breaking even though I still have 269MB available? | 11:34 |
Thaodan | Do you have a device with system_a and system_b? | 11:40 |
Thaodan | You can expand the root volume to system_b | 11:41 |
Thaodan | eh system_a | 11:41 |
Thaodan | pvcreate /dev/disk/by-partlabel/system_a | 11:42 |
Thaodan | vgextend sailfish /dev/disk/by-partlabel/system_a | 11:42 |
Thaodan | lvextend sailfish/root -l +100%Free | 11:42 |
Thaodan | resize2fs /dev/mapper/sailfish-root | 11:42 |
bionade24 | Thaodan: What do you mean? I have an XA2 so I'll do lvresize /home, lvresize /root | 11:43 |
Thaodan | no dont do that | 11:43 |
bionade24 | Thaodan: Why? | 11:43 |
Thaodan | you have a partition left thats unused | 11:43 |
Thaodan | /dev/disk/by-partlabel/system_a is unsused and has like 2.5GB of space | 11:44 |
Thaodan | run what I've posted above and you have more space | 11:44 |
bionade24 | Thaodan: But which is the right partlabel? mmcblk0 has 79 partitions | 11:47 |
bionade24 | Thaodan: My fdisk -l output: http://ix.io/2rXC | 11:48 |
Thaodan | /dev/disk/by-partlabel/system_a | 11:49 |
Thaodan | Is the right one | 11:49 |
bionade24 | Thaodan: Sorry thought disk and by-partlabel are placeholders. Jolla can even make filesystems rocket science :) | 11:51 |
Thaodan | That standard linux stuff | 11:51 |
bionade24 | Thaodan: That you have a hidden disk ? | 11:53 |
Thaodan | no its just a link to the real disk file | 11:53 |
Thaodan | for example on my desktop: | 11:54 |
Thaodan | ~/Bilder/:ls -l /dev/disk/by-label | 11:54 |
Thaodan | insgesamt 0 | 11:54 |
Thaodan | lrwxrwxrwx 1 root root 10 25. Jun 19:49 Home -> ../../dm-4 | 11:54 |
Thaodan | lrwxrwxrwx 1 root root 10 25. Jun 19:49 System -> ../../dm-0 | 11:54 |
bionade24 | Thaodan: Thx didn't know that. I only knowed /dev/block_device and /dev/mapper | 11:55 |
Thaodan | np it depends on what you are doing | 11:56 |
bionade24 | Thaodan: But I can't do online resize, can I? | 11:57 |
Thaodan | yes you can | 11:57 |
Thaodan | enlarge works online shrink doesn't | 11:57 |
bionade24 | Thaodan: It always says online-resizing required: http://ix.io/2rXM | 12:03 |
Thaodan | did you run that as root? | 12:06 |
bionade24 | Thaodan: Yes, seems like the message is ok it worked anyway | 12:07 |
bionade24 | Thaodan: Will reboot and see | 12:07 |
ol | Thaodan (IRC): What's the purpose of these system_a and system_b partitions? | 12:33 |
Thaodan | ol: To have 2 sets of boot vendor and system partitions to allow updating the other while running the live system | 12:38 |
Thaodan | Its only really usefull for android as system is read only | 12:38 |
attah | Cool, Firefox 52 is making it into the next release it seems | 14:36 |
attah | https://github.com/sailfishos/sailfish-browser/tree/upgrade-3.4.0 | 14:36 |
Nico[m] | Ohh, that's nice! | 14:40 |
attah | Hoping that was the bigger hurdle, as i seem to recall that's when rust stated to make an appearance | 14:42 |
attah | i.e. the we get "Quantum" with reasonable amounts of work and in good time | 14:43 |
attah | (Firefox 57) | 14:43 |
Nico[m] | Yeah, I think Rust was the biggest hurdle | 14:46 |
*** Elleo_ is now known as Elleo | 15:27 | |
coderus | attah: some time, if urgent its better to ping me in telegram | 17:49 |
attah | coderus: thanks, not urgent... and we finally figured it out | 17:50 |
attah | apparently i needed to prune my docker images to get package management to work | 17:51 |
r0kk3rz | haasn: you need tonimplement mpris2 dbus controls | 23:33 |
r0kk3rz | thats how the lockscreen thing works | 23:33 |
r0kk3rz | theres a qml plugin to make that easy | 23:34 |
r0kk3rz | normal volume should work already | 23:35 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!