Hello,
I know how to upload video file, there's a button "My videos" / "upload a mp4 file".
This works fine.
But I haven't found how to upload an audio file.
I have converted with ffmpeg a mp3 file to mp4, and then uploaded it. The problem is that it is stored as video, not audio. Second, it has an empty image (snow).
What is the good way to upload a mp3 file ?
Thanks
Audio upload is not working now.
It will be fixed soon.
hello, i just make this working for me, if someone wants to test it, it's there: https://github.com/hersche/YouPHPTube/tree/unstable
direct upload (mp4 upload in streamer) works for me, optimised only youphpflix and made a option "separateAudio" there..
the upload needs pre-converted mp3's or ogg's (ogg's are untestet, i did only mp3's) - mp4 means video as ever..
@hersche is it working on the Pull request 5.0?
nope, it's still in the unstable-branch, cause there could be error's i've not seen yet.
if you can test it as well, it would be nice.
https://github.com/hersche/YouPHPTube/tree/unstable
btw-offtopic: at the moment i'm making progress on sub-categorys.. (also only in unstable-branch)
Great, I will make some tests
cool.
there's a option in youphpflix, called separateAudio. i suggest you to test this as well, i hope you like the result (still not finished, can be as much extendet like videos are now)
edit: i write here, what i find it's missing:
Hello,
I’ve tried to install new version.
I had some errors, I don’t remember which, so I decided to re-create database.
I’ve drop the older manually.
Now I cannot create the new one. Categories table has changed. « description » field has lo default value.
« checkConfiguration.php » rises an error.
Le 2 avr. 2018 à 03:29, Vinzenz Hersche notifications@github.com a écrit :
hello, i just make this working for me, if someone wants to test it, it's there: https://github.com/hersche/YouPHPTube/tree/unstable
direct upload (mp4 upload in streamer) works for me, optimised only youphpflix and made a option "separateAudio" there..
the upload needs pre-converted mp3's or ogg's (ogg's are untestet, i did only mp3's) - mp4 means video as ever..
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
@nbenm I will test here
@nbenm I just sent a fix for this, please drop your database again, make a git pull command and try to install again
I did a:
git clone https://github.com/hersche/YouPHPTube.git
and now a git pull says already up to date.
What I’m I doing wrong ,
Le 2 avr. 2018 à 20:06, YouPHPTube notifications@github.com a écrit :
@nbenm I just sent a fix for this, please drop your database again, make a git pull command and try to install again
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
@nbenm i'm sorry, i did a little break. my unstable-branched is updated now, so git pull should fix it.
@DanielnetoDotCom sorry, this was also in master, right?
@hersche it is fixed now :)
yeah, i did a PR from your master to my unstable-branch and merged it, so i have your fix :)
thanks but sorry.. don't like to break the installations..
what do you think about the other changes / audio in unstable?
@hersche Sorry, I get same error
Le 2 avr. 2018 à 23:23, Vinzenz Hersche notifications@github.com a écrit :
@nbenm i'm sorry, i did a little break. my unstable-branched is updated now, so git pull should fix it.
@DanielnetoDotCom sorry, this was also in master, right?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
@nbenm do you try with a fresh db?
i've not tested a new installation again, just merge the commits..
if it's not a fresh db, it's important to update. but i like to test it quickly if a fresh installation works for me.
I use a mysql server containing other db.
But I have dropped YouPHPTube db
I have also restarted the Apache server
Can it be cache related ?
Le 2 avr. 2018 à 23:35, Vinzenz Hersche notifications@github.com a écrit :
@nbenm do you try with a fresh db?
i've not tested a new installation again, just merge the commits..
if it's not a fresh db, it's important to update. but i like to test it quickly if a fresh installation works for me.—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
if you just do the checkout, maybe clearing cache helps (the folder is not reconized by git)
i just tested it again, successfull installed in xampp..
i have also a effect that when i clear my videos-folder, that i have to reset the ownership to www-data or make it chmod 7777..
you did git pull in the folder again, since i wrote this about fixing?
i'm sorry when i ask like this, but maybe it's a small forgotten thing..
and my local installation needed the _youphp-url/update_ to show videos again (after merge the fix), but after the update it was working again..
edit: ooooh, i probably got it :))
after git clone my repo, did you, in the repo-folder
git checkout unstable
?
you can check with
git branch
if not, my master (where you are by default) is NOT updated yet, only unstable.. :)
edit2: git stash would help to reset everything (not videos or cache), if it's not a important installation and if it's nerving to merge/conflicts in git checkout
edit3: only that you are not confused, master got the fixes now too, but it's about audio here and this is only avaible in unstable anyway..
@hersche I have removed the YouPHPTube folder, and then did a git clone
Here’s the insert instruction in checkConfiguration.php:
$sql = "INSERT INTO categories (id, name, clean_name, created, modified) VALUES (1, 'Default', 'default', now(), now()) »;
As you can see, there’s no value for description column.
In the create table there’s no default value.
I have a script in crontab that does chown www-data:nb and chmod -R 770 every minute
I will have a closer look at this tomorrow. It’s late here, I’m going to sleep.
Le 2 avr. 2018 à 23:46, Vinzenz Hersche notifications@github.com a écrit :
if you just do the checkout, maybe clearing cache helps (the folder is not reconized by git)
i just tested it again, successfull installed in xampp..
i have also a effect that when i clear my videos-folder, that i have to reset the ownership to www-data or make it chmod 7777..
you did git pull in the folder again, since i wrote this about fixing?
i'm sorry when i ask like this, but maybe it's a small forgotten thing..
and my local installation needed the youphp-url/update to show videos again (after merge the fix), but after the update it was working again..—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
i've pushed it to unstable, but not testet.
edit: tried new installation, still works for me (hope for you too).
edit 2: there would be more values missing in insert, but they have a default, while description is a text set to NULL, maybe because of this is had to be set? still not shure, but i will wait for your answer tomorrow..
edit 3: i did some more stabilisation-updates, not for installing but for subcat's and audio.
but btw, also when you clone it from me, and also when you are on github on branch unstable, when you clone, it will be on master-branch by default. do you checked with "git branch"?
@hersche I was on master branch.
Installation works fine now.
I have uploaded a mp3 file. There was no need to convert it to mp4 as it was in the past.
Nice player...
I haven't seen any issue for the moment.
Good job!
cool :)
edit: and thanks for the hint! :editEnd:
found a little issue, ordering in audio-gallery (when you activate separateAudio in youphpflix) was wrong. it's fixed.
if you found any issues in subcategory or audio, would be nice to know.
@DanielnetoDotCom how does it work for you?
i did another update this night, it will need some stabilisations, i try to collect this here, but first explain the idea: we found it cool to be able to separate audio-categorys and video-categorys.
since this is not always needed and i don't want to make the categories-table too fat, i made a separate "cache"-table for this.
there are 4 modes, you can set in mcategorys: auto, both, audio, video. if this is NOT auto, it's fully manual and will NOT do react on save video (down).
auto will decide, what kind of category it is, when you save the media (and move audio or video to another category). auto can then be audio, video or both. at the moment, this goes through subcategorys as well and works well for single categorys when you open edit and save once too much. set it static should work withouth problems.
glyphicons / icons in category-gallery in youphpflix should show a audio-symbol instead of cd when audio only (little proof of concept) and disable audio-gallery in cat when cat-type is video.
since it only have work with a lot of querys in two actions, it should be quite quick in the view, which is much more used. but there's a lot to optimise and cleanup atm..
i think the diffrence between manual and auto should be intuitive, but maybe i am wrong, would be interessting to have feedback there..
todo there:
edit: feels already more stable now.. but please test first :)
I don't understand how categorie work.
I have created category "cat1" and the tried to create category "cat11" with Parent-Category "cat1".
It wasn't possible. I could choose only between "None" and "Default"
A question: you often talk about youphpflix, what is it?
4 avril 2018 03:49 "Vinzenz Hersche" <[email protected] (mailto:%22Vinzenz%20Hersche%22%20notifications@github.com)> a écrit:
i did another update this night, it will need some stabilisations, i try to collect this here, but first explain the idea: we found it cool to be able to separate audio-categorys and video-categorys.
since this is not always needed and i don't want to make the categories-table too fat, i made a separate "cache"-table for this.
there are 4 modes, you can set in mcategorys: auto, both, audio, video. if this is NOT auto, it's fully manual and will NOT do react on save video (down).
auto will decide, what kind of category it is, when you save the video (and move audio or video to another category). auto can then be both, audio and video. at the moment, this goes through subcategorys as well and works well for single categorys when you open edit and save once too much. set it static should work withouth problems.
glyphicons / icons in category-gallery in youphpflix should show a audio-symbol instead of cd when audio only (little proof of concept) and disable audio-gallery in cat when cat-type is video.
i think the diffrence between manual and auto should be intuitive, but maybe i am wrong, would be interessting to have feedback there..
todo there:
* auto-update old category-type (only new will be saved after move) as well, when save video
* auto-update category-type by changing back to auto in mcategories
* make more use of the category-type in view's
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub (https://github.com/DanielnetoDotCom/YouPHPTube/issues/429#issuecomment-378453856), or mute the thread (https://github.com/notifications/unsubscribe-auth/AEB2zR8X_HXQQNYY_uxcusYX8KajOk1yks5tlCaUgaJpZM4SoSsn).
I don't understand how categorie work. I have created category "cat1" and the tried to create category "cat11" with Parent-Category "cat1". It wasn't possible. I could choose only between "None" and "Default"
ok, i assume, this is because the subcategory-list does not update after creating or rename a category. so, after create/modify, reload the site and you should find it - is that right?
but thats a point which is unfinished and confusing yet.. have to do this.
the other feature, you've quotet is a line down (and not directly in context to subcategory) - i assume you find the 4 modes?
edit: sorry, did not see this first
A question: you often talk about youphpflix, what is it?
it is a plugin to change the view.. go as admin to plugins, there you should find it.
works like the gallery-plugin. you can disable gallery and enable youphpflix only, or you could combine gallery + youphpflix with the youphpflixhybrid-plugin (enable all 3 plugins then).
also have a look to the parameters which appears on the right after enabling the plugin (still on the admin-plugin-site)
the bug with the subcategory you found is dead, but there's a new one, i've killed the limiting of showing categorys.
@DanielnetoDotCom here i hope, you can give a hint. problem:
i need to get all data from bootgrid, so the user can choose every category as subcategory (not only the first 10).
but by remove this limit, all categorys are shown as said.
to load the json 2 times is a ugly solution. you know bootgrid better than me, is it possible to show only the first 10, 20 or whatever, while having always the full list in background?
edit: commit: https://github.com/hersche/YouPHPTube/commit/0ad017a31bef6375a81b2b5e9f5fb9a58c1443a0
oh, the subcategory-list completly fails also on search.. maybe this isn't the way to go..
good it's on unstable..
edit: finaly fixed by a second and separate ajax-request. should solve all bugs there (old stuff works again, subcat-list works correctly).
now the only fail i know there, is that the category you edit is in the subcategory-list, so this is confusing. but this seems technical a bit tricky, since i do this when load the full list.
edit2: just solved the last noticed bug, would be nice to have test-feedback again..
edit3: another fix is out..
now, i've fixed also all plugins for audio, make some other fixes with cover, cleaner code, etc.
a answer would be really interessting, i would say, it's ready to merge.. but i need feedback, about the ideas / how it's solved and also bugs.
for the moment, main-branch is changed to master..
the reason is here: #563
I think this issue can be closed now thanks to Hersche
Most helpful comment
Audio upload is not working now.
It will be fixed soon.