Sometimes I just want to play a single file from nautilus. When I do this, the player opens but start paused. I need to click play. (happen for mp3 and flac files, I haven't tested other formats). How to make it work? Is it a bug?
This is not happening here. I just tested it and it loads the track just find and starts playing. Can you give me more details about your computer specs... what window manager and you using with ubuntu ? Unity? Only happens with mp3 or flac ? what about ogg, mp4, wma files ? If guayadeque is already started what happens ?
As I remember, if was working until I set up some parameters (just after having installed the software). I will try to delete the user settings and see what is happening.
I have also manually added file associations in nautilus. Do we need to add some arguments to the "open with" command line?
@chezdom: Are you using revision 1850 ? please be sure you are using this revision and if you recently installed it you need to restart because guayadeque.desktop changed and, at lease for me, it used the old params to handle the application instead of the new ones. Once I restarted all behave as I expected.
That means you are using the 0.3.5 version and not the latest revision. I will push the svn update to my repository. Try to install guayadeque-svn from my repository. More information in the documentation.
I have seen that the build for i386 has failed. My machine is a i386. So may be the svn have been not installed. I've made the update from ppa:anonbeat/guayadeque, and the About still shows 0.3.5-. And the problem remains the same. Am I wrong ?
just jumped from Svn 1849 to current (1854) to check... and sadly it's even worse now, something else must be broken, you can't even load files by adding them with simple right-click from filemanager (tested with pcmanfm / spacefm), even if the player is already running, they simply stopped showing up in current playlist. drag & drop still works but that's all.
edit : guayadeque launched from terminal tells me the files it tries to load with right-click...don't exist (?!) for instance
I will check what is happening with this file managers but certainly with xfce and nautilus its solved now. Just checked and the file:// protocol is not handled correctly when loading files. I will fix this asap.
It doesn't. Guayadeque opens as expected but the playlist is empty. It did work in 1850 or 51.
EDIT: It does. But not with the file I first tried. Probably because it's named very strangely and I didn't edit it yet. Anyway, heres the message I got when I tried to play it: 12:36:31 AM: Loading 0 0 => 0 '/home/mario/Desktop/muzika/▶_Lykke_Li_I_Follow_Rivers_The_Magician_Remix_by_TheMagician_atdDKq0grXoh.128.mp3' 12:36:31 AM: Error: File doesnt exist '/home/mario/Desktop/muzika/▶_Lykke_Li_I_Follow_Rivers_The_Magician_Remix_by_TheMagician_atdDKq0grXoh.128.mp3'
But that very same file worked in rev 1850 or 51. I'm not sure wich one did I have before I upgraded it today on 1854 and now on 1855.
just compiled 1855. results are curious ^^ ie opening from filemanager works as intended (starting guayadeque, adding files in playlist and autostart)...sometimes
but depending on folders or god knows what else (didn't find a pattern yet to explain the behaviour), some other times it just crashes guayadeque/makes it close (if it's already open) or it "half opens it" (if it's not running), ie guayadeque is started but window doesn't show up and the only place you'll see it is in the task manager... weird... or maybe I should reboot after compilation, à la windows ^^ will do more tests after sleep, 3 AM, enough for today :)
with 1856 : Non Ansi characters I guess it doesn't like them at all (ie guayadeque still treats those files as "file doesn't exist") for instance it refuses to load anything coming from my : "Ákos Rózmann" folder but if I rename it "Akos Rozmann" (without accents) it works...
it somehow acts as if utf-8 support works only if files are loaded from the player, not externally.
edit : tried with french accents ("Progalambiqué" folder), same result, refuses to load. just copy-paste those folder names with accents and put random mp3 in it, so you can check future revisions with it, you just have to try to open the folder itself from your file manager ^^
@rototo: what you do is right click on the tracks and select open with guayadeque?. Can you be sure you have 1857 installed in your system and this is the version that shows up when open the tracks from file manager please ?
note1: I installed lubuntu-desktop to try with pcmanfm and it is working fine here using 1858
note2: Just noticed something weird in your filename. The %C3%81 looks like a UTF encoding and I guess it should not be done that way. Maybe this is the problem. I think this is a pcmanfm problem because I tried to load this file with audacious (the default lubuntu player) and it fails to load.
. as I said, I both tried with 1857 (2 days ago) and 1858 (this morning)
. zero problem here to load those Ákos Rózmann files (or any other with accents) in audacious from pcmanfm or directly from player.
.That being said, I just installed nautilus, and it indeed works from nautilus to guayadeque, so maybe I'll just knock on pcmanfm/spacefm developper's door instead ^^
@rototo: I tried with a weird filename with pcmanfm file manager and could not handle the file for audacious or guayadeque. With nautilus the file loads fine
Yeah I heard you & I believe you, but my experience is quite different on that point : I have 1+ TB of music (not counting offline/burnt/cloud stuff) with countless utf-8 so-called "weird" files from all countries (from nordic accents to japanese kanji etc), and I never had problems to load them with audacious from pcmanfm (actually using 1.0 with xubuntu 12.04), be it this morning , last week, or months ago ^^
I guess I can install some desktop videograbbing stuff if you need proof, so you'll see me doing it live ;) but anyway, pretty useless as it won't change the matter. at least I know I have an alternative with nautilus so I'll make one more keyboard shortcut for a secondary filemanager ^^
And this also happened for me trying to load this filename '01 - 2002 - The ~#@^'€ Ocean Dreams.mp3' which I created just to check. If you have one filename that loads fine in audaciour or any player from pcmanfm and not from guayadeque please post it so I can check if I can do something to fix it.
nothing incomplete, as already stated, this was a folder (but it's of course the exact same thing with a single file)... so here are the capture proofs :
while in guayadeque everything is ignored since the main folder accents "block" it. and it's the very same for EVERYTHING with regular/standard accents, nothing special and certainly NOT special characters involved from my part. just standard accents used by nearly half of the world countries...
recap :
.nautilus -> guayadeque : WORK, including files with french/swedish/whatever accents.
. pcmanfm -> audacious : WORK, including files with french/swedish/whatever accents. DO NOT CONFUSE with special characters that can be used in bash for variables etc, no one in his sane mind uses them for filenames especially if he wants to share them (we all have windows friends that would be in deep sh*t ^^ ), although unix sure allows it. that NEVER was my point.
is this section of any interest ? (especially the last part) :
"""""""" Unicode and the Outside World Even though wxWidgets always uses Unicode internally, not all the other libraries and programs do and even those that do use Unicode may use a different encoding of it. So you need to be able to convert the data to various representations and the wxString methods wxString::ToAscii(), wxString::ToUTF8() (or its synonym wxString::utf8_str()), wxString::mb_str(), wxString::c_str() and wxString::wc_str() can be used for this.
The first of them should be only used for the string containing 7-bit ASCII characters only, anything else will be replaced by some substitution character. wxString::mb_str() converts the string to the encoding used by the current locale and so can return an empty string if the string contains characters not representable in it as explained in Data Loss due To Unicode Conversion Errors. The same applies to wxString::c_str() if its result is used as a narrow string. Finally, wxString::ToUTF8() and wxString::wc_str() functions never fail and always return a pointer to char string containing the UTF-8 representation of the string or wchar_t string.
wxString also provides two convenience functions: wxString::From8BitData() and wxString::To8BitData(). They can be used to create a wxString from arbitrary binary data without supposing that it is in current locale encoding, and then get it back, again, without any conversion or, rather, undoing the conversion used by wxString::From8BitData(). Because of this you should only use wxString::From8BitData() for the strings created using wxString::To8BitData(). Also notice that in spite of the availability of these functions, wxString is not the ideal class for storing arbitrary binary data as they can take up to 4 times more space than needed (when using wchar_t internal representation on the systems where size of wide characters is 4 bytes) and you should consider using wxMemoryBuffer instead.
Final word of caution: most of these functions may return either directly the pointer to internal string buffer or a temporary wxCharBuffer or wxWCharBuffer object. Such objects are implicitly convertible to char and wchar_t pointers, respectively, and so the result of, for example, wxString::ToUTF8() can always be passed directly to a function taking const char*. However code such as
const char *p = s.ToUTF8(); ... puts(p); // or call any other function taking const char * does not work because the temporary buffer returned by wxString::ToUTF8() is destroyed and p is left pointing nowhere. To correct this you should use
const wxScopedCharBuffer p(s.ToUTF8()); puts(p); which does work.
Similarly, wxWX2WCbuf can be used for the return type of wxString::wc_str(). But, once again, none of these cryptic types is really needed if you just pass the return value of any of the functions mentioned in this section to another function directly. """"""""""