0
If you enter the name of the song in Russian in the column "name of the song", then song-file is placed with the name of the digits. These figures are displayed in the column "song file".
(http://imageshost.ru/photo/63121/id454604.html)
With the same digital file name is stored on the server and there it is difficult to identify.
(http://imageshost.ru/photo/72364/id454616.html)
1. Thus, the component does not distinguish between Russian fonts when adding new tracks. But I have a site in Russian and I can not recommend users to make their songs in English. It will not be correct. What should I do?
2. And more detail. What size and format should be a file so that it correctly added to the server? Here too there are problems when downloading.
(http://imageshost.ru/photo/63121/id454604.html)
With the same digital file name is stored on the server and there it is difficult to identify.
(http://imageshost.ru/photo/72364/id454616.html)
1. Thus, the component does not distinguish between Russian fonts when adding new tracks. But I have a site in Russian and I can not recommend users to make their songs in English. It will not be correct. What should I do?
2. And more detail. What size and format should be a file so that it correctly added to the server? Here too there are problems when downloading.
Responses (19)
-
Accepted Answer
-
Accepted Answer
0hello,
1) I'm on vacation, that's why it takes me more time to answer, sorry.
2) I'm sorry, but I have to say I do not agree when you say "all bad, no answer", because I have answered, particularly to you, a lot, a lot of posts. so I don't feel very good that you, particularly you, tells me "all bad"... no disrespect, but I don't agree with your words, my friend.
3) do the songs play? the "numbers" are added to not repeat song names, and the song filenames are renamed to a latin-version of the name, to avoid problems. so, if the song is in russian, then this characters will be cropped out and only the numbers will show... but as long as the song plays.. that should not be a problem... is it?
4) file format: mp3 or aac should be the 2 good options. file size: that depends only on your server's variables to upload... for the downloads, the size should not matter... any size is good... -
Accepted Answer
0germi wrote:
hello,
1) I'm on vacation, that's why it takes me more time to answer, sorry.
I see
2) I'm sorry, but I have to say I do not agree when you say "all bad, no answer", because I have answered, particularly to you, a lot, a lot of posts. so I don't feel very good that you, particularly you, tells me "all bad"... no disrespect, but I don't agree with your words, my friend.
Sorry, I do not correctly put it ... :blush:
3) do the songs play? the "numbers" are added to not repeat song names, and the song filenames are renamed to a latin-version of the name, to avoid problems. so, if the song is in russian, then this characters will be cropped out and only the numbers will show... but as long as the song plays.. that should not be a problem... is it?
[left]Maybe you've read until the end of my post. The song certainly sounds, but ....
I have a Russian site, and users by making their own songs, write their names in Russian. These names are recorded on the front page of the site. And the files into the database on the server with the names of the figures. Then, if a user deletes a song from the site, the database on the server, it will still remain, because there will find it impossible. Because the names of the songs consist of only one digit.
Why not make the song have been made to the server with Russian names. And not with the names of the digits?[/left]
4) file format: mp3 or aac should be the 2 good options. file size: that depends only on your server's variables to upload... for the downloads, the size should not matter... any size is good...
Good! Sometimes files are not loaded, but it certainly is to blame Server. -
Accepted Answer
-
Accepted Answer
0hello!
no, hi haven't.. limited internet connection, that's all..
I understand what you mean now, and you're right, it can be a problem if you delete the song. to not allow russian characters in the filenames was done simply for a compatibility problem, it could cause problems in some servers (believe me... the char set always cause problems)
probably, the best solution would be to simply delete the file if the song is deleted... I'll try to think about this for the next version, it would certainly be an improvement..
anyway: if you want,I can tell you how to allow russian characters on the filenames, but then, if a song with russian characters don't play... it won't be my fault! what you say? -
Accepted Answer
0germi wrote:
hello!
probably, the best solution would be to simply delete the file if the song is deleted...
Hello Germi!
And how this can be done in practice?
Suppose a user downloaded a song on the site. Of course gave her a Russian name, the song is loaded on the server and it was given the name of the digits.
Then the user has deleted the song, but how do I know what song it is removed? I go to the server and see all the songs whose titles consist only of digits!
This will overflow the folder with the songs, which lies on the server.
Now, if a user deletes a song from the site, it also would be deleted from the server, then the problem would not have been!
Perhaps - this is the best solution.
anyway: if you want,I can tell you how to allow russian characters on the filenames, but then, if a song with russian characters don't play... it won't be my fault! what you say?
Please tell me. If there are problems, I'll turn it all back and will wait to address the next version of the component. -
Accepted Answer
-
Accepted Answer
0germi wrote:
open /administrator/components/com_muscol/tables/song.php
and on line 87 you find this:
$filename = JFilterOutput::stringURLSafe($this->name);
in theory, just deleting this line will enable russian characters on filenames... give it a try.
Germi
Thank you. I did as you said!
Now the situation is.
While adding songs the user writes her name in Russian letters. The file of the song itself must be still called in English letters (in this case there are no problems, so be it).
This file is the song gets to the server has called out the letters instead of numbers and it is now easy to find. But here's the name of a song that gets on the server always has the ending:. Mp3. That is why there is this ending? How is it removed?
Take a look:
and on the server:
http://imageshost.ru/photo/15660/id474282.html -
Accepted Answer
0hello Aleksander!
yes, still on vacation just 10 more days! (these was a very long vacation! jejej
ok, this little issue can be solved if, on the same file I told you (tables/song.php) you add some code to strip this part of the filename...
it's you who have to implement this code... make something like "search for the position of the DOT character, and erase everything afterwards on the filename"
do you know what I mean? the PHP function strpos is what you need basically... -
Accepted Answer
0germi wrote:
ok, this little issue can be solved if, on the same file I told you (tables/song.php) you add some code to strip this part of the filename...
it's you who have to implement this code... make something like "search for the position of the DOT character, and erase everything afterwards on the filename"
do you know what I mean? the PHP function strpos is what you need basically...
Unfortunately, I did not understand. :blush: My knowledge of programming language PHP is very modest. :huh: -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
0glups....!! can oyu point me to that thread?
in anycase, (maybe it's not exaclty your same problem, but it may help and may have something to do) have you looked at this? we had some issues with Russian characters and we discovered how to solve them!
http://www.joomlamusicsolutions.com/en/forum/version-2/search-problem-no-serching-russian-words-4.html
if that may help you, I'll send you the files!! -
Accepted Answer
0Here's my old issues and problems:
germi wrote:
open /administrator/components/com_muscol/tables/song.php
and on line 87 you find this:
$filename = JFilterOutput::stringURLSafe($this->name);
in theory, just deleting this line will enable russian characters on filenames... give it a try.
Germi
Thank you. I did as you said!
Now the situation is.
While adding songs the user writes her name in Russian letters. The file of the song itself must be still called in English letters (in this case there are no problems, so be it).
This file is the song gets to the server has called out the letters instead of numbers and it is now easy to find. But here's the name of a song that gets on the server always has the ending:. Mp3. That is why there is this ending? How is it removed?
Take a look:
and on the server:
imageshost.ru/photo/15660/id474282.html
Your Reply
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »