I have a few CEC related questions
I’ve read https://forums.plex.tv/discussion/150209/cec-remote-buttons-how-do-i-find-out-which-button-has-been-pressed/ and created a remote.xml file.
My question is: Is there a way to map keys on a Sony remote, that doesn’t seem to send cec signals? It’s probably a stupid question and I apologize, but I can’t find any info anywhere, as to whether the reason for the rc keys not sending a signal, is because they’re not mapped anywhere. I have for instance a return key on my rc, that switches back to the most recently watched tv channel. I’d like to use that for rasplex while on the hdmi channel.
Second question is: Is there any way to change the ced name of the Pi? My tv wont fit Plex Home Theater, and only writes Plex Ho…
I use Sony TV’s, the Return button functions as exit by default when using the HDMI source that the RPi is connected to.
What function is returned when you press the Return Button? (using the instructions in the topic you quoted)
Regards
It doesn’t log that i clicked the button. I tail’ed the plex log with grep on CecLogMessage and OnKey and nothing shows up if i hit a button that’s not mapped to CEC. It just changed to the latest watched tv channel
That’s strange, unfortunately if CEC doesn’t capture the button then you can’t assign a function to it.
Have you checked both your TV’s BraviaSync options and Rasplex CEC options.
Regards
Can we please have on option to change device name of CEC?
The file for this is located under usr/share/xbmc/system/peripherals.xml, but the whole usr folder is write protected, so changing the line of code from " Plex Home Theater" to for example “Plex” cannot be saved. In the same line there is an option to enable this to be changed in settings, but it is coded as configurable = 0.
Please enable this?
Or is there another way to change device name?
@HalilBasyurt said:
Can we please have on option to change device name of CEC?
The file for this is located under usr/share/xbmc/system/peripherals.xml, but the whole usr folder is write protected, so changing the line of code from " Plex Home Theater" to for example “Plex” cannot be saved. In the same line there is an option to enable this to be changed in settings, but it is coded as configurable = 0.
Please enable this?
Or is there another way to change device name?
In the /storage/userdata/peripheral_data folder there is a file ‘pi_2708_1001.xml’, edit this file to change the name from ‘Plex Home Theatre’ to whatever you want.
Regards
@NedtheNerd said:
@HalilBasyurt said:
Can we please have on option to change device name of CEC?
The file for this is located under usr/share/xbmc/system/peripherals.xml, but the whole usr folder is write protected, so changing the line of code from " Plex Home Theater" to for example “Plex” cannot be saved. In the same line there is an option to enable this to be changed in settings, but it is coded as configurable = 0.In the /storage/userdata/peripheral_data folder there is a file ‘pi_2708_1001.xml’, edit this file to change the name from ‘Plex Home Theatre’ to whatever you want.
Regards
@NedtheNerd said:
In the /storage/userdata/peripheral_data folder there is a file ‘pi_2708_1001.xml’, edit this file to change the name from ‘Plex Home Theatre’ to whatever you want.
Regards
Ned, thanks for your quick reply.
Sorry for the previous post.
The folder is located under /storage/.plexht/userdata/peripheral_data/
But it does not stick. After changing it to Plex and then to PLEX is reverted back to Plex Home Theater.
I renamed device id and restarted at least 10 times…
Is it supposed to reset back after a reboot/reset?
Will have a look.
Regards