Add songs in Russian

Alexander
Alexander
Offline
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://img12.imageshost.ru/img/2011/02/16/image_4d5b8f6fee6bb.jpg

(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://img12.imageshost.ru/img/2011/02/16/image_4d5b922539830.jpg

(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

    Alexander
    Alexander
    Offline
    Friday, February 18 2011, 10:37 AM - #Permalink
    0
    Germi, What about the answer?
    The reply is currently minimized Show
  • Accepted Answer

    Alexander
    Alexander
    Offline
    Saturday, February 19 2011, 09:14 AM - #Permalink
    0
    Vostok-All wrote:
    Germi, What about the answer?


    All bad!
    No answer. Work stopped.
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, February 20 2011, 05:32 AM - #Permalink
    0
    hello,

    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...
    The reply is currently minimized Show
  • Accepted Answer

    Alexander
    Alexander
    Offline
    Sunday, February 20 2011, 06:33 AM - #Permalink
    0
    germi 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.
    The reply is currently minimized Show
  • Accepted Answer

    Alexander
    Alexander
    Offline
    Monday, February 21 2011, 10:44 AM - #Permalink
    0
    Germi, please think of my problem when you have free time to appear. Maybe something can be done?
    The reply is currently minimized Show
  • Accepted Answer

    Alexander
    Alexander
    Offline
    Wednesday, February 23 2011, 12:22 PM - #Permalink
    0
    You have not forgotten about me? :)
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, February 23 2011, 09:26 PM - #Permalink
    0
    hello!

    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?
    The reply is currently minimized Show
  • Accepted Answer

    Alexander
    Alexander
    Offline
    Thursday, February 24 2011, 10:18 AM - #Permalink
    0
    germi 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.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, February 25 2011, 08:43 AM - #Permalink
    0
    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
    The reply is currently minimized Show
  • Accepted Answer

    Alexander
    Alexander
    Offline
    Saturday, February 26 2011, 08:31 AM - #Permalink
    0
    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:
    http://img12.imageshost.ru/img/2011/02/26/image_4d68baa6e2e8d.jpg
    and on the server:

    http://imageshost.ru/photo/15660/id474282.html
    The reply is currently minimized Show
  • Accepted Answer

    Alexander
    Alexander
    Offline
    Thursday, March 10 2011, 10:37 AM - #Permalink
    0
    Dear Germi, Are you still on vacation? ;)
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, March 12 2011, 12:18 AM - #Permalink
    0
    hello 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...
    The reply is currently minimized Show
  • Accepted Answer

    Alexander
    Alexander
    Offline
    Saturday, March 12 2011, 12:46 PM - #Permalink
    0
    germi 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:
    The reply is currently minimized Show
  • Accepted Answer

    Alexander
    Alexander
    Offline
    Tuesday, March 29 2011, 10:16 AM - #Permalink
    0
    Germi? Will you help me with code?
    The reply is currently minimized Show
  • Accepted Answer

    Alexander
    Alexander
    Offline
    Wednesday, April 06 2011, 10:37 AM - #Permalink
    0
    Germi? Will you help me with code? :dry:
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, April 06 2011, 10:40 AM - #Permalink
    0
    sure!

    please send me access again (joomla & FTP) to joomlamusicsolutions@gmail.com

    thanks!

    Germi
    The reply is currently minimized Show
  • Accepted Answer

    Alexander
    Alexander
    Offline
    Wednesday, April 06 2011, 10:50 AM - #Permalink
    0
    Oh, no. :(
    My site on the local server. Please look again my question in the topic #9718
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, April 07 2011, 10:16 AM - #Permalink
    0
    glups....!! 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!!
    The reply is currently minimized Show
  • Accepted Answer

    Alexander
    Alexander
    Offline
    Sunday, April 10 2011, 11:08 AM - #Permalink
    0
    Here'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
    The reply is currently minimized Show
Your Reply